MegaTools.live

Line counter

Count lines, including empty lines between paragraphs.

How to use Line counter

Measure the length of a list or log excerpt. A blank row still occupies a line, and a final newline adds an empty last line. Visual wrapping in a narrow text box does not change the result.

Worked example

Input
First line
Second line
Output
2