in reply to Re: Bitwise operators on binary objects
in thread Bitwise operators on binary objects

Just to elaborate (as it might not be immediately evident): use the ->Norm() method to count the number bits that are set.