adding check if the counter can be counted on a given machine