Question: how many atoms of oxygen are there in one formula unit?
Answer: NO3 has 3 atoms of oxygen in it per molecule (indicated by the subscript of 3) and (NO3)2 means you have 2 NO3 molecules, meaning you double the subscript to get 6 oxygen atoms.