OK right out of the Fanuc manual, you can create and use a M60 if you want but I am going to let the Control do all the work(;-)
Param# 0040.3 = 1 (disables M2/M30 counting)
Param# 0219 = 99 (M code for counting # of parts, 0=not used)
The Part Counter #var may also vary with Models of the control
You can also turn BOTH on for a single cycle part count.
QUACK QUACK, (;-) TP