class_docstr: CategoricalStats contains following basic information:
      - _total_count: total count of values
      - _frequency_count: a dictionary maps categorical value to its frequency count
code: def __init__(self, frequency_count: Dict[str or int, int]):
      super(CategoricalStats).__init__()
      self._frequency_count = frequency_count
  
file_path: contextual-ai/xai/data/explorer/categorical/categorical_stats.py
imports: from typing import Dict
  from xai.data.abstract_stats import AbstractStats
  from xai.data.constants import STATSKEY
  from xai.data.exceptions import InvalidTypeError
label_desc: Use image node_id 1 to create a new CategoricalStats object from inherited base classes: AbstractStats with example: obj = CategoricalStats(frequency_count)