[LintCode] Count 1 in Binary