Function S2Polygon.numVertices

Total number of vertices in all loops.

int numVertices() const;