code: def LoadReco2NumSpk(file):
      if ":" in file:
          file = file.split(":")[1]
      NumSpk = dict()
      with open(file, "r") as f:
          for line in f:
              ids = line.strip().split()
              NumSpk[ids[0]] = int(ids[1])
      return NumSpk
  
file_path: espnet/egs/libri_css/asr1/diarization/spec_clust.py
imports: import argparse
  import numpy
  import scipy
  from kaldiio import ReadHelper
  from sklearn.cluster import SpectralClustering
label_desc: Use image node_id 3 for calling a global function with example usage: LoadReco2NumSpk(file) and returns: NumSpk