Repeat Action Scheduler X number of times

How about a While loop?