code: def _total_sample_count(h):
      acc = 0
      for b in h.buckets:
          acc += b.sample_count
      return acc
  
imports: from typing import List
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_data_validation.utils import quantiles_util
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 3 for calling a global function with example usage: _total_sample_count(h) and returns: acc