The On Part triggers seem to see the channel just before the person leaves, instead of just after. As a result, if you're checking to see if you're the only one left, you would need to account for the person who just left, as well as yourself. That's why it checks for 2 people, and not 1.