Then execute the script on the command line and see the result. This will show you the number of lines available in a file.