Instrument for measuring amount of oxygen in air