counter working