Photon-scattering-rate measurement of atoms in a magneto-optical trap