code: def num_cutlass_partitions(mod):
      return sum(
          [
              (1 if "cutlass" in var.name_hint else 0)
              for var in mod.get_global_vars()
          ]
      )
  
imports: import logging
  import os
  import multiprocessing
  import tvm
  from tvm import relay, runtime
  from tvm._ffi.registry import register_func
  from tvm.contrib.nvcc import get_cuda_version
  from .gen_conv2d import CutlassConv2DProfiler
  from .gen_gemm import CutlassGemmProfiler
  from .library import ConvKind
label_desc: Use image node_id 8 for calling a global function with example usage: num_cutlass_partitions(mod) and returns: sum