Adding end line to run many counts