Loop certain number of times then do action

Another good catch!