Count total hours