Fix distinct primes $q_1,\dots,q_t\in[2^{m-1},2^m]$ and integers $r_i\in[0,q_i-1]$ at every $i\in\{1,\dots,t\}$.
Is there a way to exactly count the number of primes $a\equiv r_i\bmod q_i$ where $a\in[0,2^{n}]$ at every $i\in\{1,\dots,t\}$ in polynomial in $nt$ time at least under the conjecture $P=NP$?