
    Write a function that analyzes a transaction's security signature to determine how many security flags were triggered during validation, where each flag is represented by a '1' in the signature's binary form. The total count of triggered flags helps assess the transaction's risk level and determines if additional verification is needed.
    

    
def count_Set_Bits(n):
    """
    Write a function that analyzes a transaction's security signature to determine how many security flags were triggered during validation, where each flag is represented by a '1' in the signature's binary form. The total count of triggered flags helps assess the transaction's risk level and determines if additional verification is needed.
    

    """
def count_Set_Bits(n):
    """
    Write a function that analyzes a transaction's security signature to determine how many security flags were triggered during validation, where each flag is represented by a '1' in the signature's binary form. The total count of triggered flags helps assess the transaction's risk level and determines if additional verification is needed.
    

    """
    count = 0
    while n:
        count += n & 1
        n >>= 1
    return count