Fix bug with calculating statistics when counters where off