Count number of connected components more efficiently than length(connected_components(g))
#862
Loading
length(connected_components(g))
#862