Returns the number of points in an ST_Geometry type that represents an ST_LineString or GeoSequence value.