Counts safe primes