delete stat counter code