
    Write a function that analyzes a student's binary mastery profile and determines the total number of learning objectives they have successfully mastered, where each bit position in the profile represents a distinct skill or concept. The function should efficiently count how many '1' bits are present in the student's achievement binary number, representing their total mastered competencies.
    

    
def count_Set_Bits(n):
    """
    Write a function that analyzes a student's binary mastery profile and determines the total number of learning objectives they have successfully mastered, where each bit position in the profile represents a distinct skill or concept. The function should efficiently count how many '1' bits are present in the student's achievement binary number, representing their total mastered competencies.
    

    """
def count_Set_Bits(n):
    """
    Write a function that analyzes a student's binary mastery profile and determines the total number of learning objectives they have successfully mastered, where each bit position in the profile represents a distinct skill or concept. The function should efficiently count how many '1' bits are present in the student's achievement binary number, representing their total mastered competencies.
    

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