Actually save counters to datastore.

Making this pull request so I can comment