Fixed bug in approximate_prime_count()