Are you referring to the quantum number ml, the z-component of the orbital angular momentum?
Thallium has 4 filled levels with l≥2: 3d, 4d, 5d and 4f. Each of these will have two electrons with ml = -2, one spin-up and one spin-down. So the answer should be 8. Who says it is 4?