code: def nvmlDeviceGetCount():
      c_count = ctypes.c_uint()
      fn = _get_nvml_function("nvmlDeviceGetCount_v2")
      ret = fn(ctypes.byref(c_count))
      _check_return(ret)
      return c_count.value
  
imports: import os
  import sys
  import ctypes
  import threading
label_desc: Use image node_id 10 for calling a global function with example usage: nvmlDeviceGetCount() and returns: c_count