Added method to get total hours for a specific user for a time range