counting prime numbers