To me, at first glance, the groupCount will go up until the sentinel is read in then reset for the next group of numbers. Instead, what it does is keeps counting, instead of finding that in the first group there are 4 numbers then in the second group finding that there are 6 numbers; it totals out to give me 10.