
    Develop a function for the bank's fraud detection system that analyzes a sequence of historical transactions and determines how many times a specific suspicious transaction amount appears in the transaction history. The function should accept an immutable sequence of transaction records and the suspicious transaction amount as inputs, and return the total count of matches found.
    

    
def count_X(tup, x):
    """
    Develop a function for the bank's fraud detection system that analyzes a sequence of historical transactions and determines how many times a specific suspicious transaction amount appears in the transaction history. The function should accept an immutable sequence of transaction records and the suspicious transaction amount as inputs, and return the total count of matches found.
    

    """
def count_X(tup, x):
    """
    Develop a function for the bank's fraud detection system that analyzes a sequence of historical transactions and determines how many times a specific suspicious transaction amount appears in the transaction history. The function should accept an immutable sequence of transaction records and the suspicious transaction amount as inputs, and return the total count of matches found.
    

    """
    count = 0
    for ele in tup:
        if ele == x:
            count = count + 1
    return count