The atomicity of O is 2.
It has one electron in its valance shell.
Atomicity of an element is defined as the number of atoms present in one molecule of an element. In nature, an oxygen molecule, O2, contains 2 atoms of oxygen. In other words, oxygen is diatomic in nature.