Checking the Counter of the Machine for Each Color Category