count_lines py