Pregunta de entrevista de Staqu Technologies

find count on 1 in a list, in python