Returns the number of edges attached to vertex. Compare with the more flexible vertex-degree.
vertex
vertex-degree