edge counting added