To determine the number of hydrogen atoms in this molecule what would you do is simply take the coefficient and multiply it to the subscript present for hydrogen, which is 3.
The final result would be 6 X 3 or 18. There are 18 hydrogen atoms in 6 molecules of NH3 or ammonia.