Question: what is the total number of electrons that can occupy the d sublevel?
Answer: The d sublevel has 5 orbitals, so can contain 10 electrons max. And the 4 sublevel has 7 orbitals, so can contain 14 electrons max. In the picture below, the orbitals are represented by the boxes. You can put two electrons in each box.