How many valence electrons in alkaline earth metals?

The alkaline earth metals are those in the same group as calcium; they have two valence electrons.