In H2SO4, there are:
- 2 atoms of hydrogen (H)
- 1 atom of sulfur (S)
- 4 atoms of oxygen (O)
So, there are a total of 2 + 1 + 4 = 7 atoms in the compound H2SO4.