press hard key SETTING then page down. You should see PARTS COUNT there on one of the pages.
You can pre-set it to any number or zero it by going to MDI, cursor to the position for the counter, type your number and press INPUT.
There are others in the same place for NUMBER OF PARTS REQUIRED and some others. If this is set to a positive number the machine will count down and stop when it reaches zero.
You may have a Total Number Of Parts Made but the number is only 4 digits so it will reset to zero after 9999.
To count the number of parts each tool has made you need Tool Life Management. Its an option on mostly later machines so I doubt you have it.