The number of electrons around each atom in an electronic dot structure of the compounds should always sum up to:
8 except H2
The number of electrons in a dot structure of each atom should sum up to 8. Except hydrogen and helium it should sum up to 2.