Please help someone. I almost solved this task, but I can't create loop to automatically count lines.