I made a rough calculation (probably having made a miscalculation though) following here and here to find out the number of air molecules in 1 cubic centimetre of air.
The first website says there are about $0.02504\times10^{27}$ air molecules in 1 cubic metre. The the second one says the diameter of an air molecule is about $4\times 10^{-10}$m. Then the area of the molecule is about $4\pi\times 10^{-20} \approx 12\times 10^{-20}$.
Then we get the number of air molecules in one cubic metre to be about $12\times0.025\times10^7$, and in one cubic centimetre to be about $12\times0.025\times10^5 = 30000$.
So if there are 30000 air molecules in 1 cubic centimetre, it's almost impossible for light to miss hitting all of them. Following this logic, I can't comprehend how light propagates in air (I would expect it to be scattered, absorbed etc). How does physics explain this?
Furthermore, since the speed of light in a vacuum is constant, but light is "slower" in higher refractive index materials, can I assume light travels a longer path when it travels through a medium with a refractive index higher than empty space? If not, what decreases its speed?
(I thought two questions are related as they both question how light travel in air.)