Question: how many unshared valence electrons does each oxygen atom have?
Answer: For each atom, subtract shared electrons from number of valence electrons. Oxygen (O) has eight valence electrons. The left oxygen in O-N=O. has 8 – 2 = 6 unshared electrons.