Then simply attach a timer. One shot every X+5 seconds. Nice part about that is a clock will tell you how many shots you've fired. No fancy shot counter required.
who said you need anything fancy at all ? just create one variable in the code that increases by 1 after each shot (numberofshots = numberofshots + 1)
cool but arduino is all he needs and it's very well documentedUse a PLC for process control, data collection and communication......like real-world, industrial equipment. $119