
    Develop a function that determines the number of bus stops where the historical passenger count, current real-time passenger count, and predicted passenger count are exactly the same, helping identify consistent ridership patterns across the route. The comparison must be made at corresponding bus stops along the route, with each list containing passenger counts in sequential order from the first to last stop.
    

    
def count_samepair(list1, list2, list3):
    """
    Develop a function that determines the number of bus stops where the historical passenger count, current real-time passenger count, and predicted passenger count are exactly the same, helping identify consistent ridership patterns across the route. The comparison must be made at corresponding bus stops along the route, with each list containing passenger counts in sequential order from the first to last stop.
    

    """
def count_samepair(list1, list2, list3):
    """
    Develop a function that determines the number of bus stops where the historical passenger count, current real-time passenger count, and predicted passenger count are exactly the same, helping identify consistent ridership patterns across the route. The comparison must be made at corresponding bus stops along the route, with each list containing passenger counts in sequential order from the first to last stop.
    

    """
    result = sum((m == n == o for (m, n, o) in zip(list1, list2, list3)))
    return result