code: def _histogram_intersection_dict(first, second):
      sim = 0
      for word, val_a in first.items():
          val_b = second.get(word, types.uint32(0))
          sim += min(val_a, val_b)
      return sim
  
label_desc: Use image node_id 1 for calling a global function with example usage: _histogram_intersection_dict(first, second) and returns: sim