collect counts to redis