VertexCount

VertexCount[g]
gives a count of the number of vertices in the graph g.

VertexCount[g,patt]
gives a count of the number of vertices that match the pattern patt.

VertexCount[{vw,},]
uses rules vw to specify the graph g.

Introduced in 2010
(8.0)
| Updated in 2015
(10.3)