Determine degree of a vertex (#700)