Test counter.