Update count_1s_in_bitstring