FCurveEdInterface::GetNumKeys

Get number of keyframes in curve.