How to loop a flash piece 3 times and stop after 3 times?

HI,

I am in need of some help.

I have a flash piece that I want to loop 3 times and then stop.

HOw do i do that?