
    At a busy three-way intersection, determine how many times during the day all three traffic directions simultaneously recorded the exact same vehicle flow rate per minute across their respective sensors. Given three lists of traffic flow measurements taken at consistent time intervals throughout the day from each direction, write a function that identifies these matching instances.
    

    
def count_samepair(list1, list2, list3):
    """
    At a busy three-way intersection, determine how many times during the day all three traffic directions simultaneously recorded the exact same vehicle flow rate per minute across their respective sensors. Given three lists of traffic flow measurements taken at consistent time intervals throughout the day from each direction, write a function that identifies these matching instances.
    

    """
def count_samepair(list1, list2, list3):
    """
    At a busy three-way intersection, determine how many times during the day all three traffic directions simultaneously recorded the exact same vehicle flow rate per minute across their respective sensors. Given three lists of traffic flow measurements taken at consistent time intervals throughout the day from each direction, write a function that identifies these matching instances.
    

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