It's a special-case of a general principle that works regardless of the weighting. Instead of integer counting, do real counting with unity.
The more "intuitive" way of generalizing it (integer counting) does not work in general. I think the example is likely to be misleading to anyone who doesn't already understand this stuff.
As suggested by the footnote, the reason the given example can be solved elegantly is because of the symmetry.