Quartz contains two atoms of what?

Quartz is made up of a continuous framework of SiO4 silicon-oxygen tetrahedra, with each oxygen being shared between two Si-centered tetrahedra, giving an overall formula SiO2.

So quartz has two Oxygen atoms to one Silicon atom.