How to fix loop animation 5 time or 10 time?

I want to play loops only 5 time for a object.
How can i do it ?

You can use a delay value patch to count the number of times a loop animation has triggered the complete pulse, then use that value to determine the enabled state of the loop animation.

If you want to learn about how delay value works, I wrote an article about it