
    Given a student's target achievement level, determine how many foundational concepts must be mastered before reaching that level. Each foundational concept is represented by a prime number, and students must master all foundational concepts below their target level to ensure comprehensive understanding. Return the total count of foundational concepts that need to be mastered.
    

    
def count_Primes_nums(n):
    """
    Given a student's target achievement level, determine how many foundational concepts must be mastered before reaching that level. Each foundational concept is represented by a prime number, and students must master all foundational concepts below their target level to ensure comprehensive understanding. Return the total count of foundational concepts that need to be mastered.
    

    """
def count_Primes_nums(n):
    """
    Given a student's target achievement level, determine how many foundational concepts must be mastered before reaching that level. Each foundational concept is represented by a prime number, and students must master all foundational concepts below their target level to ensure comprehensive understanding. Return the total count of foundational concepts that need to be mastered.
    

    """
    ctr = 0
    for num in range(n):
        if num <= 1:
            continue
        for i in range(2, num):
            if num % i == 0:
                break
        else:
            ctr += 1
    return ctr