"Prime Numbers I"

In math, a prime number is a number only divisible by 1 and itself.

Given the first few prime numbers

2 3 5 7 11 13 17 ...

How many prime numbers are there below 10^7? Note that ^ means exponent.

I didn't do any programming for this challenge, instead google the term "PrimePi" and there are online services which can solve this