code: def muc(clusters, mention_to_gold):
      tp, p = 0, 0
      for c in clusters:
          p += len(c) - 1
          tp += len(c)
          linked = set()
          for m in c:
              if m in mention_to_gold:
                  linked.add(mention_to_gold[m])
              else:
                  tp -= 1
          tp -= len(linked)
      return tp, p
  
imports: import logging
  import numpy
  from collections import Counter, defaultdict
  from scipy.optimize import linear_sum_assignment
  from .blanc import blanc, tuple_to_metric
label_desc: Use image node_id 4 for calling a global function with example usage: muc(clusters, mention_to_gold) and returns: tp,  p