code: def test_statistic_for_retrieves_more_than_one_value():
      """Show this works for more than a couple statistic values."""
      aggregator = stats.Statistics()
      for i in range(50):
          aggregator.record(make_error(code=f"E1{i:02d}"))
          aggregator.record(make_error(code=f"W2{i:02d}"))
  
      statistics = list(aggregator.statistics_for("E"))
      assert len(statistics) == 50
  
      statistics = list(aggregator.statistics_for("W22"))
      assert len(statistics) == 10
  
file_path: flake8/tests/unit/test_statistics.py
imports: from __future__ import annotations
  import pytest
  from flake8 import statistics
  from flake8.violation import Violation
label_desc: Use image node_id 9 for calling a global function with example usage: test_statistic_for_retrieves_more_than_one_value() without return types