Question: how many electrons are in the outermost shell of nitrogen?
Answer: The number of valence electrons is the number of electrons in the outer shell, that the atom uses for bonding. Nitrogen has 5 electrons in its n=2 (outer) shell.