keep track of run count