new edgeCounter