The difference in the number of unpaired electrons of Metal ion in its high-spin and low-spin octahedral complexes is $2 .$
For the metal $Co ^{2+}\left([ Ar ] 3 d ^{7}\right)$ ion, the difference of unpaired electrons is $3-1=2$ since the number of unpaired electrons of a metal ion in its high-spin complex is $3$ and low-spin complex is $1 .$