code: def get_chords_histogram(chords):
      chords_histogram = dict([(key, 0) for key in circle_of_fifth])
  
      for chord in chords:
          chords_histogram[chord] += 1.0
  
      for chord in chords_histogram.keys():
          chords_histogram[chord] *= 100.0 / len(chords)
  
      return chords_histogram
  
imports: import essentia
  from essentia import EssentiaError, INFO
label_desc: Use image node_id 2 for calling a global function with example usage: get_chords_histogram(chords) and returns: chords_histogram