Fixing the counter.