The line numbers will not only help quickly figure out how many lines you worked on but also easy to locate where you are while discussing with your partners. Other than adding line numbers to each line for the whole documents, you can also add line numbers only to one or multiple sections. Please see below for details:
Step 1: Click on a section or select multiple sections;
Step 2: Click the "Layout" tab from the ribbon;
Step 3: Click "Line Numbers" and select "Line Numbering Options" from the drop-down list;
Step 4: In the "Page Setup" window, select "Selected text" from the "Apply to" box;
Step 5: Click "Line Numbers" and check "Add line numbering";
Step 6: Click "OK" two times to complete.
Please note that if you do not have the sections, the paragraphs you selected will push to a separated page.