Question: how many hydrogen atoms are there in a formula unit of ammonium chloride?
Answer: One ammonium is surrounded by 4 hydrogen. Therefore the count of hydrogen is 8. If this was a question from a quiz, with a trap, one of the hydrogen is a proton (the one on the lone pair of nitrogen), therefore strictly speaking they are 6 hydrogen atoms.