
    In a social media platform, determine the number of genuine mutual connections between users where both users follow each other. Given a list of tuples representing directional user follows (where each tuple contains a follower and following user ID), count how many unique bidirectional follow relationships exist between user pairs.
    

    
def count_bidirectional(test_list):
    """
    In a social media platform, determine the number of genuine mutual connections between users where both users follow each other. Given a list of tuples representing directional user follows (where each tuple contains a follower and following user ID), count how many unique bidirectional follow relationships exist between user pairs.
    

    """
def count_bidirectional(test_list):
    """
    In a social media platform, determine the number of genuine mutual connections between users where both users follow each other. Given a list of tuples representing directional user follows (where each tuple contains a follower and following user ID), count how many unique bidirectional follow relationships exist between user pairs.
    

    """
    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