Remove unneeded module and code formatting
Don't make state persistent in Count actor
Structure tests in main function