For a sodium atom the noumber of electrons with m=0will be

2 in 1s+ 2 in2s +2 in 2p +1in3s total: 7