Counting the number of unconnected subgraphs
Shortly after posting this I found that I can use
Length@ConnectedGraphComponents
to get the desired number.
Shortly after posting this I found that I can use
Length@ConnectedGraphComponents
to get the desired number.