forgot to get count during loop