code: def _get_metrics_counter(namespace: str, name: str):
      return beam.metrics.Metrics.counter(namespace, name)
  
file_path: datasets/tensorflow_datasets/core/beam_utils.py
imports: import functools
  from typing import Any
  from tensorflow_datasets.core import dataset_builder
  from tensorflow_datasets.core import lazy_imports_lib
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core.utils import shard_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import apache_beam
label_desc: Use image node_id 2 for calling a global function with example usage: _get_metrics_counter(namespace, name) and returns: beam