The subscript after the element indicates the number of atoms of that element in the molecule. So, in H20, the subscript after the H, which stands for hydrogen, is 2. This means that there are 2 hydrogen atoms in a water molecule.
Hope this helps! :)