code: def num_workers(self):
          
          size = ctypes.c_int()
          check_call(_LIB.MXKVStoreGetGroupSize(self.handle, ctypes.byref(size)))
          return size.value
docs: Returns the number of worker nodes.
  
          Returns
          -------
          size :int
              The number of worker nodes.