Hole counts from X-ray absorption spectra.