Num edges implemented