Spline IK Control getKnotCount???

Hey....

I have been fiddling with some spline IK setup through maxscript and the function getKnotCount, just doesnt seem to work for me.

Is there any other way of getting the total number of knot in a spline??