How to make the transform activities A, B, and C execute in the sequence of A for 5 times to B for 4 times, and then to C for 3 times on an NC machine?

Hi!😀 

Is there a way to make the transform activities A, B, and C execute in the sequence of A for 5 times to B for 4 times, and then to C for 3 times on an NC machine?