Added code to get stats for the hour.