write hourly trip duration totals