Return the number of elements in the array.
std::size_t size() const;
This returns the number of segments in the path.
Constant.
No-throw guarantee.