Time-tagged Photon Detection for Measuring Air Pollutants