code: def get_gpu_count():
      size = ctypes.c_int()
      check_call(_LIB.MXGetGPUCount(ctypes.byref(size)))
      return size.value
  
imports: import ctypes
  import functools
  import inspect
  import threading
  import tempfile
  import platform
  from contextlib import contextmanager
  from struct import calcsize
  from .base import _LIB, check_call, c_str, py_str, numeric_types, integer_types, long, _MAX_VALUE_64_BIT_UNSIGNED_, _MAX_VALUE_64_BIT_SIGNED_, _MAX_VALUE_FLOAT32_REPRESENT_
label_desc: Use image node_id 1 for calling a global function with example usage: get_gpu_count() and returns: size