Add bit_count1 function