Calculating the number of ions