better use the timer behavior for countdowns, not every x seconds (this will introduce errors on your first tick)
spawn something x times:
repeat x times: spawn y
If an interval is supposed to be between the spawns, use the timer behavior once again, start a regular timer, then on timer count down your amount of stuff you still want to spawn and once it reaches zero, stop the regular timer.