add basic stat counter