Measurement of the absolute intensity of cosmic X-rays