Answer:
The number of electrons in a shell varys depending on its location. The outer shell is usually paid the most attention to(the valence shell), and a stable outer shell (when considering a noble gas) bust have 8 electrons (with the exception of He). If there is less than 8 electrons, this is considered to be unstable, and makes it easier to lose electrons to other atoms.