def getOccurence(item, transactions):
    """
        Get the number of occurence in a list of trnasactions
    """
    occurence = 0
    for transaction in transactions:
        if set(item) <= set(transaction):
            occurence +=1
    return occurence