The relation between number of electrons and magnetism is not like that. Gold has 79 electrons, but is not magnetic (spin-polarized), even with 1 atom in the fcc unit cell. Iron, on the other hand, has 26, but is magnetic.
There is a relation between semiconductivity/metallicity and odd/even number of electrons, but not to magnetism.