Added stat counter.