code: def _count_operands(subscript):
      if "->" in subscript:
          input_subscript, output_index = subscript.split("->")
      else:
          input_subscript = subscript
      return len(input_subscript.split(","))
  
imports: import functools
  from typing import Callable, Any
  import inspect
  import platform
  import ivy
  import ivy.functional.frontends.numpy
label_desc: Use image node_id 7 for calling a global function with example usage: _count_operands(subscript) and returns: len