Added counters to NaiveBayes