Counting statistics in radioelement assaying with a portable spectrometer