code: def sum_stats(elements):
      """Sum statisticts in buffered probing events."""
      stats = defaultdict(float)
      for element in elements:
          for key in element:
              stats[key] += element[key]
  
      return stats
  
imports: import argparse
  import contextlib
  import multiprocessing
  import subprocess
  import sys
  import time
  from collections import defaultdict, namedtuple
  import bson
  import numpy
  from ptera import probing
  from orion.client import build_experiment
  from orion.client.runner import Runner
  from orion.core.io.database.pickleddb import PickledDB
  from orion.testing import OrionState
label_desc: Use image node_id 11 for calling a global function with example usage: sum_stats(elements) and returns: stats