Count number of bits to be flipped to convert A to B