Loop certain number of times then do action

Good spot @jim-p