code: def count_confidences(graph: BELGraph) -> typing.Counter[str]:
      
      return Counter(
          (
              'None'
              if ANNOTATIONS not in data or 'Confidence' not in data[ANNOTATIONS] else
              list(data[ANNOTATIONS]['Confidence'])[0]
          )
          for _, _, data in graph.edges(data=True)
          if CITATION in data  # don't bother with unqualified statements
      )
docs: Count the confidences in the graph.