How can I find the total number of lines in a text file (not INI format)?

Any help is recieved with gratitude :-)