docs: def count_passed_edge_filter(graph: BELGraph, edge_predicates: EdgePredicates) -> int:
      """Return the number of edges passing a given set of predicates."""
      return sum(
          1
          for _ in filter_edges(graph, edge_predicates=edge_predicates)
      )