code: def _get_rows(objs, multiple):
      def get_obj(x):
          return x[0] if multiple else x
  
      total = list(map(lambda x: get_obj(x).shape[0], objs))
      return total, reduce(lambda a, b: a + b, total)
  
imports: from collections.abc import Sequence
  from collections import OrderedDict
  from dask_cudf.core import DataFrame
  from dask_cudf.core import Series
  import cugraph.dask.comms.comms
  from cugraph.dask.common.read_utils import MissingUCXPy
  from cugraph.dask.common.part_utils import _extract_partitions
  from dask.distributed import default_client
  from toolz import first
  from functools import reduce
label_desc: Use image node_id 3 for calling a global function with example usage: _get_rows(objs, multiple) and returns: total,  reduce, unknown