Vertex degree calculation