'Counts the lines of each file.'

def run(self, filename, file):

    (yield Result.from_values(origin=self, message='This    file    has    {count}    lines.'.format(count=len(file)), severity=RESULT_SEVERITY.INFO, file=filename))
