Getting movie clip to stop

i’m making a little 2-player shooter game and i want to the shots to stop after the player shoots 5 times.
i want to know how i’d make the if statement.

thanks!!

tis is the file if you guys need to look at it and i know it’s all messed up and there are a lot of things that could be better like putting all the action script on one layer instead of movie clips but right now it works. i just want to know how to get the shots to fire five times then stop.

and maybe get them to reset after 3 seconds :)?

THANK YOU!! =)