I am doing an amimation that starts on frame ID 0 and ends in Frame ID 800.
Firstly I assumed a number of 801 frames
then i realise that were some failures (frame and repeated frames)
1 is rigth, 0 is the repetition of last frame and, 2 it’s a jumped frame
And the penultimate frame appears
then I assumed a number of 800 frames
And all the failures of the last animation disappears and penultimate frame dont appears

How can I fix this?
My Python Animation Cue (ii is the frame ID)
def tick(self):
ii = int(self.GetAnimationTime()*int(0.8e+00/1.0000e-03/1))
print(ii)