The number of electrons with a particular magnetic quantum number $m = 0$ can be found from the electron configuration. For $Z = 24$ (Chromium) and $Z = 29$ (Copper), the number of electrons with $m = 0$ corresponds to the number of orbitals in the $d$-subshell. For both elements, these are 12 and 13 respectively.