Fixing counters #302