Add repeat count to animation.