Answer
Total number of electrons for Lewis structures of a molecule = sum of valence electrons of all the atoms in the molecule
Work Step by Step
Total number of electrons for Lewis structures of an ion = sum of the number of valence electrons for each atom minus 1 electron for every positive charge or plus 1 for every negative charge (when ions are involved).