count with counters