class_docstr: A Trigger that fires once the count of elements in a pane reaches the given count.
code: def __init__(self, count_elements: int):
      self._count_elements = count_elements
      self._count_state_desc = ValueStateDescriptor(
          "trigger-count-%s" % count_elements, Types.LONG()
      )
      self._ctx = None
  
imports: from abc import abstractmethod, ABC
  from typing import Generic
  from pyflink.common.typeinfo import Types
  from pyflink.datastream.state import ValueStateDescriptor
  from pyflink.datastream.window import TimeWindow, CountWindow
  from pyflink.fn_execution.table.window_context import TriggerContext, W
label_desc: Use image node_id 1 to create a new CountTrigger object from inherited base classes: Trigger with example: obj = CountTrigger(count_elements)