For a positive integer $n$, let $p(n)$ denote the number of distinct prime numbers that divide evenly into $n$. Determine the number of solutions, in positive integers $n$, to the inequality $\log_4 n \leq p(n)$.

Let's think step by step and output the final answer within \boxed{}.
user