added function to get the number of buses running by time for an identified route