count amount of 1 in a number's bit.