The number of moles of AgCl formed will depend upon the number of Chloride ions available in the coordinate compound. The number of Chloride ions satisfying the primary valency will only react with AgNO3 to produce AgCl.
[Co(NH3)5Cl]Cl2+2AgNO3→[Co(NH3)5Cl](NO3)2+2AgCl
Thus, 2 moles of AgCl will be formed.