Let be $P_k = \{n | n = p_1 \cdot \ldots \cdot p_k, p_i = \text{prime numbers not necessary different} |\}$
$P_1 = \text{set of primes }$, $P_2 = \text{integers with exactly two primes factors}$, ....
We know that $|\{n \in P_1, n \leq x \}| = \pi(x) \sim x/\log x$-.
Is there any approximation for $$ | \{ n \leq x | n \in P_k \} | = |\{ n \leq x | n = p_1 \cdot \ldots \cdot p_k, p_i = \text{prime numbers not necessary different}\}|$$
$$\pi_k(x)\sim\frac{x(\log\log x)^{k-1}}{(k-1)!\log x}$$
Exact formula for $\pi_k(x)=P_k(x,0)$ here:
https://mathoverflow.net/questions/297785/prime-counting-meissel-lehmer-is-there-a-general-formula/300060#300060