Somewhat oversimplified, I think you can assume that all valence electrons in d-block elements are d-electrons if the atom has a positive oxidation number. The reason is that with increasing atomic charge, the atom gets more hydrogen like and the aufbau principle will be followed (i.e. d will be...