Account for the atom type "X" when adding implicit hydrogen counts. This is required to avoid NPEs.