The electronic configuration of phosphorous is
15P→1s22s22p63s23p3for ′s′ l=0,m=0
For ′p′ l=1,m=−1 ,+1 , 0
So total number of electrons in s− orbital is 6.
Again 2 electrons of 2p subshell has ml=0 value and one electron of 3p subshell has ml=0
So, total number of electrons having atleast one quantum number is=6+2+1=9