ENH: added the stream output for the number of vertices.