Gets the number of samples in a [enum@Gimp.
CurveType.FREE] curve.
the Curve.
the number of samples in a freehand curve.