How many maximum number of electrons that can be accommodated in a sub shell?

The maximum number of electrons can be accommodated in a sub-shell is 2(2l + 1) (Where l is orbital quantum number)