
    Write a function that analyzes a transit vehicle's diagnostic sensor reading to determine the total number of active fault signals present in the system, where the sensor data is represented as a binary number with each '1' indicating an active warning. The count of active signals will help maintenance teams prioritize vehicle repairs and assess overall vehicle health status.
    

    
def count_Set_Bits(n):
    """
    Write a function that analyzes a transit vehicle's diagnostic sensor reading to determine the total number of active fault signals present in the system, where the sensor data is represented as a binary number with each '1' indicating an active warning. The count of active signals will help maintenance teams prioritize vehicle repairs and assess overall vehicle health status.
    

    """
def count_Set_Bits(n):
    """
    Write a function that analyzes a transit vehicle's diagnostic sensor reading to determine the total number of active fault signals present in the system, where the sensor data is represented as a binary number with each '1' indicating an active warning. The count of active signals will help maintenance teams prioritize vehicle repairs and assess overall vehicle health status.
    

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