Write the electron configuration for the element titanium, Ti. How many valence electrons does this atom possess?