code: def get_machine_count(ip_config):
      """Get total machine count from ip_config file"""
      with open(ip_config) as f:
          machine_count = len(f.readlines())
  
      return machine_count
  
file_path: ogb/examples/lsc/wikikg90m/dgl-ke-ogb-lsc/python/dglke/dist_train.py
imports: import os
  import stat
  import sys
  import subprocess
  import argparse
  import socket
  from .utils import CommonArgParser
label_desc: Use image node_id 1 for calling a global function with example usage: get_machine_count(ip_config) and returns: machine_count