How do I set a mesh animation?

With blend time?

Hey there, you can count the number of loops by scheduling a looping timer with the duration of the animation, or by creating an animnotify in the animation placed at the end that adds that X distance.