code: def test_all_count() -> None:
      from os import listdir
      from os.path import dirname
  
      files = listdir(dirname(sc.__file__))
      pyfiles = [x for x in files if x.endswith(".py")]
  
      # the -2 accounts for __init__.py and file_output.py
      assert len(sc.all) == len(pyfiles) - 2
  
imports: from __future__ import annotations
  import pytest
  import bokeh.command.subcommands
label_desc: Use image node_id 3 for calling a global function with example usage: test_all_count() without return types