@not_implemented_for('undirected')
def number_strongly_connected_components(G):
    return len(list(strongly_connected_components(G)))
Return number of strongly connected components in graph.
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/components/strongly_connected.py/number_strongly_connected_components