resetting counter and stats on each run