class_docstr: A PTransform that increments a counter once per PCollection.
  
  The output PCollection is the same as the input PCollection.
class_docstr_tok: ["A","PTransform","that","increments","a","counter","once","per","PCollection",".","The","output","PCollection","is","the","same","as","the","input","PCollection","."]
code: def _make_and_increment_counter(self, unused_element):
      del unused_element
      beam.metrics.Metrics.counter(
          METRICS_NAMESPACE, self._counter_name
      ).inc()
      return None
  
imports: import collections
  import dataclasses
  import enum
  import os
  from typing import Any, Dict, Mapping, Optional
  import uuid
  import apache_beam
  from tensorflow_transform import common_types
  from tensorflow_transform import nodes
  from tfx_bsl.telemetry import util
label_desc: Use image node_id 2 for calling the IncrementCounter obj's underlying member method code with example usage: obj._make_and_increment_counter(unused_element) and returns: None