how do you determine the total number of Valence electrons that are used to make a particular lewis structure for a compound or an ion?​