Apple Interview Question

Count the switched on bits of a given binary number.