[WIP] fixing countState on reload

need to account for reloading and a countState is set