human
Write a python function that takes in a non-negative number and returns the number of prime numbers less than the given non-negative number. Here is a solution in Python:
=====
Give me a the Python code you requested?
assistant
#Here is the Python code you requested.
 def count_Primes_nums(n):
    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