This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Bond dissociation (A, B), vaporisation (C) and dissolution of $NH_4Cl$ (E) are endothermic; combustion of carbon (D) is exothermic. So $4$. Answer: 4.