A shell is determined by the principal quantum number n.  The number of

orbitals is determined by the values of the angular quantum number / which
in turn is constrained by the principal quantum number.