Bus route query algorithm based on least number of transfer times