
    Given real-time traffic density data encoded as a binary number, where each '1' represents a congestion point on potential delivery routes, write a function that determines the total number of active traffic bottlenecks in the system. This count will help dispatch operators quickly assess overall traffic conditions and optimize delivery fleet routing decisions.
    

    
def count_Set_Bits(n):
    """
    Given real-time traffic density data encoded as a binary number, where each '1' represents a congestion point on potential delivery routes, write a function that determines the total number of active traffic bottlenecks in the system. This count will help dispatch operators quickly assess overall traffic conditions and optimize delivery fleet routing decisions.
    

    """
def count_Set_Bits(n):
    """
    Given real-time traffic density data encoded as a binary number, where each '1' represents a congestion point on potential delivery routes, write a function that determines the total number of active traffic bottlenecks in the system. This count will help dispatch operators quickly assess overall traffic conditions and optimize delivery fleet routing decisions.
    

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