Stat tracking using datastore instead of memcache