Counting bits set in a 32 bit value