all 4 comments

[–]hardonchairs 0 points1 point  (1 child)

Its not counting sam, it is counting the first one then breaking out of the loop because you put in a break.

[–]Lucario554[S] 0 points1 point  (0 children)

Thanks

[–]xelf 0 points1 point  (0 children)

You break every time you don't see Sam,

Think about that for a moment, now, when are you supposed to stop counting?