change config to counters