code: def compute_statistics(
      values: List[Union[float, int]]
  ) -> Dict[Text, Union[int, float, np.floating]]:
      """Computes some statistics over the given numbers."""
      return {
          "count": len(values) if values else 0,
          "mean": np.mean(values) if values else np.nan,
          "median": np.median(values) if values else np.nan,
          "min": min(values) if values else np.nan,
          "max": max(values) if values else np.nan,
      }
  
imports: from __future__ import annotations
  from typing import Dict, Text, Union, List, Tuple
  from rasa.utils.io import WriteRow
  from pathlib import Path
  import csv
  import numpy
  from rasa.core.evaluation.marker_base import EventMetaData
label_desc: Use image node_id 1 for calling a global function with example usage: compute_statistics(values) and returns: dict