create a rake task to periodically sync redis view counts to the database