Update: Count the number of connected component with Depth First Seach,e.g Double DFS:)