BitSet.cardinality() - courtesy Hacker's Delight