code: def free(self):
      self.comm.Barrier()
      # stop counter process
      rank = self.child.Get_rank()
      if rank == 0:
          self.child.send(None, 0, 1)
      self.child.Disconnect()
      #
      self.comm.Free()
  
imports: from mpi4py import MPI
  import sys, os
label_desc: Use image node_id 2 for calling the Counter obj's underlying member method code with example usage: obj.free() without return types