bit count with while
update bit_count.c