find # of ones in a binary number