Refactored loading and saving.
Added a count activity