Correlation between hole density and oxygen excess in the Bi2Sr2CaCu2O8+d superconductor