Autostart count script.