class_docstr: A key-value store for synchronization of values, over multiple devices.
class_docstr_tok: ["A","key-value","store","for","synchronization","of","values",",","over","multiple","devices","."]
docstr: Returns the number of worker nodes.
  
  Returns
  -------
  size :int
      The number of worker nodes.
docstr_tok: ["Returns","the","number","of","worker","nodes",".","Returns","--","--","--","-","size",":","int","The","number","of","worker","nodes","."]
code: def num_workers(self):
      """Returns the number of worker nodes.
  
      Returns
      -------
      size :int
          The number of worker nodes.
      """
      size = ctypes.c_int()
      check_call(
          _LIB.MXKVStoreGetGroupSize(self.handle, ctypes.byref(size))
      )
      return size.value
  
imports: import pickle
  import ctypes
  import os
  from ..ndarray import NDArray
  from ..ndarray import _ndarray_cls
  from ..base import _LIB, c_str
  from ..base import check_call, mx_uint, py_str
  from ..base import NDArrayHandle, KVStoreHandle
  from ..None import optimizer
  from .base import _ctype_key_value, _ctype_dict, KVStoreBase
label_desc: Use image node_id 14 for calling the KVStore obj's underlying member method code with example usage: obj.num_workers() and returns: size