adding count_lines