Function S2Shape.numEdges

Returns the number of edges in this shape. Edges have ids ranging from 0 to num_edges() - 1.

abstract int numEdges() const;