Strongly Connected Components, Weakly Connected Components and Edge Count