find total set bits in a number