trying to get the ID Count from entries