After all the atoms are in the |d⟩ state, apply repump laser, which drives the transition between |d⟩ and |e⟩. During this process each atom emits one blue photon. Denote number of emitted blue photon during this process as n.