500 ml of 0.1 M KCl, 200 ml of 0.01 M NaNO3 and 500 ml of 0.1 M AgNO3 was mixed. What is the total number of moles of ions in solution?