
    Write a function that determines how many distinct lending evaluation checkpoints must be passed before reaching a given credit score threshold, where each checkpoint is represented by a prime number and only prime numbers serve as valid checkpoints. The function should take a credit score threshold as input and return the count of qualifying checkpoints (prime numbers) that fall below this threshold value.
    

    
def count_Primes_nums(n):
    """
    Write a function that determines how many distinct lending evaluation checkpoints must be passed before reaching a given credit score threshold, where each checkpoint is represented by a prime number and only prime numbers serve as valid checkpoints. The function should take a credit score threshold as input and return the count of qualifying checkpoints (prime numbers) that fall below this threshold value.
    

    """
def count_Primes_nums(n):
    """
    Write a function that determines how many distinct lending evaluation checkpoints must be passed before reaching a given credit score threshold, where each checkpoint is represented by a prime number and only prime numbers serve as valid checkpoints. The function should take a credit score threshold as input and return the count of qualifying checkpoints (prime numbers) that fall below this threshold value.
    

    """
    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