Text this: Quantitative prediction of optical static refractive index in complex oxides