You are right in thinking that a strong electrolyte is something that dissociates completely in solution.$\ce{Ba(OH)2}$ and $\ce{KI}$ then, being a strong electrolytes, will effectively dissociate into $\ce{Ba^2+}$+ $\ce{2OH-}$ and $\ce{K+}$+ $\ce{I-}$, respectively.
Going into your example, it's a just a matter of multiplication. We can assume that the volume of the solution is 1L for simplicity. Since you begin with 0.008 M $\ce{Ba(OH)2}$, we can say that you begin with 0.008 mol of $\ce{Ba(OH)2}$. In solution this becomes 0.008 mol of $\ce{Ba+}$ and 2(0.008) mol of $\ce{OH-}$, or 0.024 mol of ions in total. Likewise for KI, you are left with 0.010 mol of $\ce{K+}$ and 0.010 mol of $\ce{I-}$, or 0.020 mol of ions in total.
Converting these values back to molarity (by dividing by 1), we get that the concetration of ions in the $\ce{Ba(OH)2}$ solution is 0.024 M, whereas it is only 0.020 M in the $\ce{KI}$ solution.