code: def test_file_counts_by_category(
      init_file_kwargs: dict,
      expected_stats: stats.FileCountsByCategory,
  ):
      s = stats.Stats()
      s.init_file(**init_file_kwargs)
      assert s.file_counts_by_category() == expected_stats
  
file_path: wandb/tests/pytest_tests/unit_tests/test_file_stats.py
imports: import pytest
  from wandb.filesync import stats
label_desc: Use image node_id 1 for calling a global function with example usage: test_file_counts_by_category(init_file_kwargs, expected_stats) without return types