
    Design a function for an adaptive learning system that determines how many skills a student has mastered by counting the number of achieved competencies in their binary performance score. The performance score represents multiple skill assessments where each position marked as 1 indicates mastery of that specific skill, and the function should return the total count of mastered skills.
    

    
def count_Set_Bits(n):
    """
    Design a function for an adaptive learning system that determines how many skills a student has mastered by counting the number of achieved competencies in their binary performance score. The performance score represents multiple skill assessments where each position marked as 1 indicates mastery of that specific skill, and the function should return the total count of mastered skills.
    

    """
def count_Set_Bits(n):
    """
    Design a function for an adaptive learning system that determines how many skills a student has mastered by counting the number of achieved competencies in their binary performance score. The performance score represents multiple skill assessments where each position marked as 1 indicates mastery of that specific skill, and the function should return the total count of mastered skills.
    

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