Statistical properties of measured X-ray intensities affected by counting loss