docstr: Get stats based on labels
  
  Returns:
      A dictionary maps label to the aggregated stats json object
code: def get_statistics(
      self,
  ) -> Tuple[Dict[Union[str, int], AbstractStats], AbstractStats]:
      """
      Get stats based on labels
  
      Returns:
          A dictionary maps label to the aggregated stats json object
      """
      raise NotImplementedError(
          "The derived class should implement this class"
      )
  
file_path: contextual-ai/xai/data/explorer/abstract_labelled_analyzer.py
imports: from abc import ABC, abstractmethod
  from typing import List, Dict, Union, Tuple
  from xai.data.abstract_stats import AbstractStats
  from xai.data.exceptions import InconsistentSize
label_desc: Use image node_id 4 for calling the AbstractLabelledDataAnalyzer obj's underlying member method code with example usage: obj.get_statistics() without return types