code: def inc_counter(
      name: str, value: int = 1, *, namespace: str = "tfds"
  ) -> None:
      """Increment a `beam.metrics.Metrics.counter` without boilerplate.
  
      ```python
      tfds.beam.inc_counter('my_metric')
      ```
  
      Is a small alias for:
  
      ```python
      beam.metrics.Metrics.counter(namespace, name).inc(value)
      ```
  
      Args:
        name: The metrics name
        value: Increment (default to 1)
        namespace: Metrics namespace (default to `tfds`)
      """
      _get_metrics_counter(namespace, name).inc(value)
  
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 3 for calling a global function with example usage: inc_counter(name, value) without return types