Updated the way visitor counts are calculated

Updating stats happens every ten minutes by dispatching four jobs. Each of those jobs is responsible for one of the four 'metrics': hourly, daily, weekly and monthly totals