how to calculate count rate in physics