Counting bits set: Brian Kernighan's way · HackerTrans