PostGIS  2.1.10dev-r@@SVN_REVISION@@
PG_FUNCTION_INFO_V1 ( LWGEOM_numpoints_linestring  )

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