Hello Ebarra,
There a several way's to get this done. I will try something in the weekend, because i would not do this with the X times option.
What happened when the repeat x-times has reach the defined value? Does it block the tour/route?
When it reaches its defined value it wil stop, this is very logical because otherwhise this function would be useless :-)
Maybe it's an option to start every 10 minutes a train with a counter, 1= Go , 2 = Stop then you won't need the X times option ?