If 5 nuclei decay in 1 second then 5 betas must also be given off. The change in the number of undecayed nuclei in 1 second is the same as the number of betas given off - which is the activity.