Solved: reset counters when analyseVideo is called