code: def _count_num_fixture_uses(items):
      # Helper function, counts the number of tests that use each cached
      # fixture.  Should be called from pytest_collection_modifyitems().
      for item in items:
          is_skipped = item.get_closest_marker("skip") or any(
              mark.args[0] for mark in item.iter_markers("skipif")
          )
          if is_skipped:
              continue
  
          for (
              fixturedefs
          ) in item._fixtureinfo.name2fixturedefs.values():
              # Only increment the active fixturedef, in a name has been overridden.
              fixturedef = fixturedefs[-1]
              if hasattr(fixturedef.func, "num_tests_use_this_fixture"):
                  fixturedef.func.num_tests_use_this_fixture[0] += 1
  
file_path: tvm/python/tvm/testing/plugin.py
imports: import pytest
  import _pytest
  import tvm
  from tvm.testing import utils
label_desc: Use image node_id 9 for calling a global function with example usage: _count_num_fixture_uses(items) without return types