docs: def count_error_types(graph: BELGraph) -> Counter:
      """Count the occurrence of each type of error in a graph.
  
      :return: A Counter of {error type: frequency}
      """
      return Counter(
          exc.__class__.__name__
          for _, exc, _ in graph.warnings
      )