class_docstr: Computes example count.
class_docstr_tok: ["Computes","example","count","."]
code: def __init__(
      self,
      model_name: str,
      output_name: str,
      keys: List[metric_types.MetricKey],
      example_weighted,
  ):
      self._model_name = model_name
      self._output_name = output_name
      self._keys = keys
      self._example_weighted = example_weighted
  
file_path: model-analysis/tensorflow_model_analysis/metrics/example_count.py
imports: from typing import Optional, Dict, Iterable, List
  import apache_beam
  import numpy
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.utils import util
label_desc: Use image node_id 1 to create a new _ExampleCountCombiner object from inherited base classes: beam with example: obj = _ExampleCountCombiner(model_name, output_name, keys, example_weighted)