def second_measurer_I_MI(uniquePairsDf):
    """
    second_measurer_I_MI: computes the measure I_MI that counts the minimal inconsistent subsets of the database.
    
    Parameters
    ----------
    uniquePairsDf : dataframe
        the result of the query that finds all pairs of tuples that jointly violate a constraint.
        
    Returns
    -------
    int
        number of pairs of tuples that jointly violate a constraint.
    """ 
    
    return len(uniquePairsDf)