Simple looping of movie using increments

I’ve searched from code that performs a simple loop, but am hard pressed to find anything “simple.”

I’ve created a banner and I want it to play three times and stop after the third run.

Could anyone provide code that would perfrom this simple action?

thanks in advance