counter still not working