Rate of generation of nonequilibrium charge carriers by a focused X-ray beam