class_docstr: A class for querying and converting data.
docstr: Returns a dictionary {pitch value (int): count (int)}.
code: def get_pitch_counts(self):
      """Returns a dictionary {pitch value (int): count (int)}."""
      return self.dataset.get_pitch_counts()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from magenta.models.gansynth.lib import datasets
  from magenta.models.gansynth.lib import train_util
  from magenta.models.gansynth.lib.specgrams_helper import SpecgramsHelper
  import tensorflow.compat.v1
label_desc: Use image node_id 6 for calling the DataHelper obj's underlying member method code with example usage: obj.get_pitch_counts() and returns: self