Given `n` nodes labeled 0..n-1 and a list of undirected `edges`, return the number of connected components in the graph.