Bloomberg interview question

Count the on-bits in a number