class_docstr: Computes simple statistics about queries.
class_docstr_tok: ["Computes","simple","statistics","about","queries","."]
code: def extract_output(self, accumulator: _State) -> Dict[str, Any]:
      return {
          metric_keys.base_key(
              "total_queries"
          ): accumulator.total_queries,
          metric_keys.base_key(
              "total_documents"
          ): accumulator.total_documents,
          metric_keys.base_key(
              "min_documents"
          ): accumulator.min_documents,
          metric_keys.base_key(
              "max_documents"
          ): accumulator.max_documents,
      }
  
file_path: model-analysis/tensorflow_model_analysis/evaluators/query_metrics/query_statistics.py
imports: import dataclasses
  from typing import Any, Dict, Iterable
  import apache_beam
  from tensorflow_model_analysis.evaluators.query_metrics import query_types
  from tensorflow_model_analysis.post_export_metrics import metric_keys
label_desc: Use image node_id 4 for calling the QueryStatisticsCombineFn obj's underlying member method code with example usage: obj.extract_output(accumulator) and returns: dict