reset counter on each prompt