Dear User,
Maximum number of electrons that can be holded by a N shell is equal to 32. This means that the N shell has the capacity to hold maximum of 32 electrons but maximum of 8 electrons are only present in the outermost shell even if it has the capacity to hold more electrons as this makes the atom more stable. This rule is called octet rule.