code: def _len(x):
      shape = ivy.shape(x)
      return 0 if len(shape) == 0 else shape[0]
  
imports: import ivy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
  from ivy.func_wrapper import with_supported_dtypes
label_desc: Use image node_id 3 for calling a global function with example usage: _len(x) and returns: unknown