Number of moles of AgCl formed in the following reaction is _____.

Key idea: precipitates AgCl only from chlorides that ionise easily, i.e. those giving a stable carbocation (S1-type). Vinyl and aryl chlorides do not react, because their C–Cl bond has partial double-bond character.
So X = 2 mol AgCl per mole of compound.
Answer: 2
Tagged Haloarenes. Machine-assigned, so read it as a strong shortlist rather than a verdict.