What is the valence electrons and electron configuration of Palladium (Pd)?

I don't understand. Can you explain. Are there 10 valence electrons in Pd? Is the electron configuration of Pd 1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 4d10? or 5s2 4d8. It's hard to understand it.
Update: I looked at the periodic table. it says Electron Configuration:
1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 4d10.
Electrons per Energy Level: 2,8,18,18
Are there 10 or 2 or 1 or 0 valence electrons?
6 answers 6