| 1 | initial version |
You are right the doc is not consistent with the actual output, thanks for reporting ! It is now trac ticket 20800
The result is indeed a list of strongly connected components, so to get their number, you just have to do, if G is a digraph:
sage: len(G.strongly_connected_components())
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.