The chemical formula C8 H10 N4 O2 tells us directly that there are 8 atoms of carbon in one molecule.