For I-
protons = atomic no. = 53
neutrons = atomic mass - atomic number = (127 - 53) = 74
Since it has a negative positive charge, to find the no. of electrons, we need to add 1 to the number of protons, i.e.
electrons = (53 + 1) = 54
And,
For, Li+
protons = atomic no. = 3
neutrons = atomic mass - atomic number = (7 - 3) = 4
Since it has a positive charge, to find the no. of electrons, we need to subtract 1 form the number of protons, i.e.
electrons = (3 - 1) = 2