code: def get_machine_count(ip_config):
      """Get total machine count"""
      with open(ip_config) as f:
          machine_count = len(f.readlines())
  
      return machine_count
  
imports: import os
  import argparse
  import time
  import logging
  import socket
  import dgl
  import dgl.backend
  import torch.multiprocessing
  from .train_pytorch import load_model, dist_train_test
  from .utils import get_compatible_batch_size, CommonArgParser
  from .train import prepare_save_path
  from .dataloader import TrainDataset, NewBidirectionalOneShotIterator
  from .dataloader import get_partition_dataset
label_desc: Use image node_id 4 for calling a global function with example usage: get_machine_count(ip_config) and returns: machine_count