Using the Linus Pauling electronic configuration rules, we can see that the total number of possible electrons in the orbital 3d is:
1s2 2s2 2p6 3s2 3p6 4s2 3d10, therefore the maximum amount if 10 electrons according to the rules of electronic configuration