modified query tripsOn based also on the hour, and divided by hours