Given the file text.txt, here is its contents:
one
2
3
four
five
6
7
eight
As we see, there are 8 lines in our file. It is necessary for the script to check the contents of the text.txt file and display the text, for example: The text.txt file contains 8 lines. Thank you very much in advance!