how to measure the length of spline

how to measure length of spline (curve displayed in the image)?