Verifone Interview Question

Finding number of bits in a number.