
    Design a function for the bank's fraud detection system that determines how many security verification checkpoints need to be passed when processing a batch of transactions, where each checkpoint corresponds to a prime number and all checkpoints with values less than the total number of transactions must be cleared. The function should take in the total number of transactions to be processed and return the count of required security checkpoints.
    

    
def count_Primes_nums(n):
    """
    Design a function for the bank's fraud detection system that determines how many security verification checkpoints need to be passed when processing a batch of transactions, where each checkpoint corresponds to a prime number and all checkpoints with values less than the total number of transactions must be cleared. The function should take in the total number of transactions to be processed and return the count of required security checkpoints.
    

    """
def count_Primes_nums(n):
    """
    Design a function for the bank's fraud detection system that determines how many security verification checkpoints need to be passed when processing a batch of transactions, where each checkpoint corresponds to a prime number and all checkpoints with values less than the total number of transactions must be cleared. The function should take in the total number of transactions to be processed and return the count of required security checkpoints.
    

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