Question: how do you know how many valence electrons are in a transition metal?
Answer: Most transition metals have 2 valence electrons. Valence electrons are the sum total of all the electrons in the highest energy level (principal quantum number n). Most transition metals have an electron configuration that is ns2(n−1)d , so those ns2 electrons are the valence electrons.