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 expand(self, pcoll):
      _ = (
          pcoll.pipeline
          | "CreateSole" >> beam.Create([None])
          | "Count" >> beam.Map(self._make_and_increment_counter)
      )
      return pcoll
  
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 3 for calling the IncrementCounter obj's underlying member method code with example usage: obj.expand(pcoll) and returns: pcoll