The azimuthal quantum number l=2 corresponds to the d-subshell. A d-subshell has 5 orbitals, and each orbital can hold a maximum of 2 electrons. Therefore, it can accommodate a maximum of $5 \times 2 = 10$ electrons.