code: def _count_num_bboxes(labels: List[np.ndarray]) -> List[int]:
      """Return a list containing the number of bboxes in per sample batch."""
      num_bboxes = [label.shape[0] for label in labels]
      return num_bboxes
  
file_path: deepchecks/deepchecks/vision/utils/label_prediction_properties.py
imports: from typing import List, Sequence, Union
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: _count_num_bboxes(labels) and returns: num_bboxes