code: def testCounter(self):
      counter = statistics.Counter("name_123")
      self.assertEqual(counter.count, 0)
      counter.increment()
      self.assertEqual(counter.count, 1)
      counter.increment(10)
      self.assertEqual(counter.count, 11)
  
      counter_2 = statistics.Counter("name_123", 5)
      self.assertEqual(counter_2.count, 5)
      counter.merge_from(counter_2)
      self.assertEqual(counter.count, 16)
  
      class ABC(object):
          pass
  
      with self.assertRaises(statistics.MergeStatisticsError):
          counter.merge_from(ABC())
  
      self.assertEqual(str(counter), "name_123: 16")
  
      counter_copy = counter.copy()
      self.assertEqual(counter_copy.count, 16)
      self.assertEqual(counter_copy.name, "name_123")
  
imports: from absl.testing import absltest
  from magenta.pipelines import statistics
label_desc: Use image node_id 1 for calling the StatisticsTest obj's underlying member method code with example usage: obj.testCounter() without return types