counter troubles

some tricks can resolve my problem