The number of moles is proportional to the number of atoms/molecules in the system.
Suppose you bring another identical copy of the system, and consider the two copies as a whole.
The number of atoms/molecules will double, so will the number of moles.
For usual solids and liquids, the volume will double (assuming external conditions like pressure, temperature remains the same).
For gases, the volume does not depend on the mass (it will consume the whole volume of the container). However, if another identical container (having the same mass of gas, and same $P$, $T$) is brought, the volume of the whole system will double. So, both these are extensive properties.
However, the ratio $\frac{\text{volume}}{\text{no of moles}}$ will remain the same. So it is an intensive property.