FramesNumber=GetDXAnimationFramesNumber(AnimationNumber)

Return the number of frames that forms a defined animation.