How many valence electrons does nickel have?