I have a text file. Some lines contain text while others do not (just empty line without any spaces or characters:
123 // comment 45
As you can see, there is a line above
//comment. If I want to count the times such line exist in my file, how can I grep them?