This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] $A=\text{NiCl}_2$ and $B=[\text{Ni(DMG)}_2]$, the red precipitate. It has $14$ H in total: $12$ H of the four $\text{CH}_3$ groups, and $2$ H of the two intramolecular $\text{O-H}\cdots\text{O}$ hydrogen bonds. The protons not involved in hydrogen bonding are $12$. Answer: 12.