code: def create_compound_combiner(
      metrics: pipeline_dp.aggregate_params.Metrics,
  ) -> CompoundCombiner:
      combiners = []
      if pipeline_dp.Metrics.COUNT in metrics:
          combiners.append(RawCountCombiner())
      if pipeline_dp.Metrics.SUM in metrics:
          combiners.append(RawSumCombiner())
      if pipeline_dp.Metrics.PRIVACY_ID_COUNT in metrics:
          combiners.append(RawPrivacyIdCountCombiner())
      if pipeline_dp.Metrics.MEAN in metrics:
          combiners.append(RawMeanCombiner())
      if pipeline_dp.Metrics.VARIANCE in metrics:
          combiners.append(RawVarianceCombiner())
      return CompoundCombiner(combiners)
  
imports: import abc
  import copy
  from typing import Iterable, Sized, Tuple, List
  import pipeline_dp
  import numpy
  from collections import namedtuple
label_desc: Use image node_id 1 for calling a global function with example usage: create_compound_combiner(metrics) and returns: CompoundCombiner