Number of Ones (CodeEval)