code: def test_compute_metrics(
      self, num_partitions, contribution_values, expected_metrics
  ):
      utility_analysis_combiner = combiners.CountCombiner(
          *_create_combiner_params_for_count()
      )
      test_acc = utility_analysis_combiner.create_accumulator(
          (
              np.array([len(contribution_values)]),
              np.array([0]),
              np.array([num_partitions]),
          )
      )
      got_metrics = utility_analysis_combiner.compute_metrics(test_acc)
      common.assert_dataclasses_are_equal(
          self, expected_metrics, got_metrics
      )
      self.assertTrue(_check_none_are_np_float64(got_metrics))
  
imports: import dataclasses
  import numpy
  from absl.testing import absltest
  from absl.testing import parameterized
  from unittest.mock import patch
  from typing import Tuple
  import pipeline_dp
  from analysis import per_partition_combiners
  from analysis import metrics
  from analysis.tests import common
label_desc: Use image node_id 1 for calling the UtilityAnalysisCountCombinerTest obj's underlying member method code with example usage: obj.test_compute_metrics(num_partitions, contribution_values, expected_metrics) without return types