A positive integer n is a prime-factor prime when the number of its prime factors, counted with multiplicity, is itself prime. For example, 12 is a prime-factor prime: 12=2×2×3 has 3 prime factors and 3 is prime. 210 is not a prime-factor prime, because 210=2×3×5×7 has 4 prime factors and 4 is composite.
You are given an integer interval [l,r]. Write a program that counts the prime-factor primes in that interval, that is, the prime-factor primes n with l≤n≤r.