Add Vertices method. Add method to count incoming edges rather than collect them.