Oxygen determination from cell dimension in YBCO superconductors