Function GetSpriteAnimationLength(sprite, animation)

Returns the number of frames in a sprite animation