code: def _length_of_multi_arraylike(data: ArrayLike) -> int:
      if isinstance(data, np.ndarray):
          return len(data)
      elif isinstance(data, (list, tuple)):
          return len(data[0])
      elif isinstance(data, dict):
          return len(list(data.values())[0])
      else:
          raise det.errors.InternalException(
              f"Unsupported data type: {type(data)}."
          )
  
file_path: determined/harness/determined/keras/_data.py
imports: import math
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  import tensorflow
  import determined
  from determined import keras
  from determined.common import check
label_desc: Use image node_id 3 for calling a global function with example usage: _length_of_multi_arraylike(data) and returns: len, len, len