code: def count_examples(file):
      ctr = 0
      if os.path.exists(file):
          with open(file) as fp:
              for line in fp:
                  line = line.strip()
                  if len(line) == 0:
                      ctr += 1
      else:
          print("File:" + file + " doesn't exist")
      return ctr
  
label_desc: Use image node_id 1 for calling a global function with example usage: count_examples(file) and returns: ctr