numpoints(LINESTRING) – return the number of points in the linestring, or NULL if it is not a linestring