
    Write a function that identifies and counts reciprocal user report patterns in a social media platform's moderation system, where user reports are stored as paired user IDs. Two users are considered to have a reciprocal reporting pattern if each has reported the other, and the function should count how many such bidirectional reporting pairs exist in the system.
    

    
def count_bidirectional(test_list):
    """
    Write a function that identifies and counts reciprocal user report patterns in a social media platform's moderation system, where user reports are stored as paired user IDs. Two users are considered to have a reciprocal reporting pattern if each has reported the other, and the function should count how many such bidirectional reporting pairs exist in the system.
    

    """
def count_bidirectional(test_list):
    """
    Write a function that identifies and counts reciprocal user report patterns in a social media platform's moderation system, where user reports are stored as paired user IDs. Two users are considered to have a reciprocal reporting pattern if each has reported the other, and the function should count how many such bidirectional reporting pairs exist in the system.
    

    """
    res = 0
    for idx in range(0, len(test_list)):
        for iidx in range(idx + 1, len(test_list)):
            if test_list[iidx][0] == test_list[idx][1] and test_list[idx][1] == test_list[iidx][0]:
                res += 1
    return res