code: def test_tune_privacy_id_count(self):
      # Arrange.
      input = [(i % 10, f"pk{i/10}", i) for i in range(10)]
      public_partitions = [f"pk{i}" for i in range(10)]
      data_extractors = pipeline_dp.DataExtractors(
          privacy_id_extractor=lambda x: x[0],
          partition_extractor=lambda x: x[1],
          value_extractor=lambda x: x[2],
      )
  
      contribution_histograms = list(
          computing_histograms.compute_dataset_histograms(
              input, data_extractors, pipeline_dp.LocalBackend()
          )
      )[0]
  
      tune_options = _get_tune_options(
          [pipeline_dp.Metrics.PRIVACY_ID_COUNT],
          parameter_tuning.ParametersToTune(
              max_partitions_contributed=True
          ),
      )
  
      # Act.
      result, _ = parameter_tuning.tune(
          input,
          pipeline_dp.LocalBackend(),
          contribution_histograms,
          tune_options,
          data_extractors,
          public_partitions,
      )
  
      # Assert.
      result = list(result)[0]
  
      self.assertEqual(tune_options, result.options)
      self.assertEqual(
          contribution_histograms, result.contribution_histograms
      )
      utility_reports = result.utility_reports
      self.assertIsInstance(utility_reports[0], metrics.UtilityReport)
      self.assertLen(utility_reports[0].metric_errors, 1)
      self.assertEqual(
          utility_reports[0].metric_errors[0].metric,
          pipeline_dp.Metrics.PRIVACY_ID_COUNT,
      )
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from unittest import mock
  from unittest.mock import patch
  from typing import List, Optional
  import pipeline_dp
  import analysis
  from analysis import metrics
  from analysis import parameter_tuning
  from pipeline_dp.dataset_histograms import histograms
  from pipeline_dp.dataset_histograms import computing_histograms
label_desc: Use image node_id 11 for calling the ParameterTuning obj's underlying member method code with example usage: obj.test_tune_privacy_id_count() without return types