Question: how many hydrogen atoms appear in the formula of ammonium sulfate?
Answer: Sulphate ion has 2 negative charges. Ammonium has one positive charge, therefore you need two of them. One ammonium is surrounded by 4 hydrogen. Therefore the count of hydrogen is 8.