Follow these steps to count the rows in notepad.
(1) Open notepad
(2) Go to View > Click on Status bar
(3) now go on last row
It will display the row number in status bar.
If Status bar in menu is not active then Go On
Format > Click on Word Wrap
Now status bar in menu will be active.