
    Given a list of professional networking matches where each match is represented as a tuple of two professionals within a 50-mile radius, determine the total number of unique bidirectional networking connections possible. Consider that if professional A can connect with professional B, then professional B can also connect with professional A, but this should be counted as a single unique connection.
    

    
def count_bidirectional(test_list):
    """
    Given a list of professional networking matches where each match is represented as a tuple of two professionals within a 50-mile radius, determine the total number of unique bidirectional networking connections possible. Consider that if professional A can connect with professional B, then professional B can also connect with professional A, but this should be counted as a single unique connection.
    

    """
def count_bidirectional(test_list):
    """
    Given a list of professional networking matches where each match is represented as a tuple of two professionals within a 50-mile radius, determine the total number of unique bidirectional networking connections possible. Consider that if professional A can connect with professional B, then professional B can also connect with professional A, but this should be counted as a single unique connection.
    

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