def METHOD_NAME(in_filename, out_filename):
    with open(in_filename) as in_file:
        with open(out_filename, 'w') as out_file:
            for lineno, line in enumerate(in_file):
                out_file.write(f"{lineno}:{len(line.split())}:"
                             f"{len(line)}:{line}")