Fixed bitCount using hamming weight function.