Fast prime counting function program and C/C++ library
primecount
$ primecount 1000000
$ primecount 1000000000 --threads=4
$ primecount --help