Fluorescence dynamics of an ensemble of cold atoms