@balghar02, maybe you could do this through the repeat-count as discussed in our previous post:
repeat-count