code: def _get_nccl_dtype_and_count(array, count=None):
      dtype = array.dtype.char
      if dtype not in _nccl_dtypes:
          raise TypeError(f"Unknown dtype {array.dtype} for NCCL")
      nccl_dtype = _nccl_dtypes[dtype]
      if count is None:
          count = array.size
      if dtype in "FD":
          return nccl_dtype, 2 * count
      return nccl_dtype, count
  
imports: import numpy
  import warnings
  import cupy
  from cupy.cuda import nccl
  from cupyx.distributed import _store
  from cupyx.distributed._comm import _Backend
  from cupyx.scipy import sparse
label_desc: Use image node_id 1 for calling a global function with example usage: _get_nccl_dtype_and_count(array, count) and returns: nccl_dtype,  count, nccl_dtype,  unknown