Let $\omega(n)$ denote the number of distinct prime factors of the positive integer $n$. We study the cardinality of the set $\{n\le x:l^{\omega(n)}\mid n\}$, where $l\ge 2$ is any arbitrary positive integer which is sufficiently small with respect to $x$.