AnimationSpecs can now computer their own number of frames.