Counting-spaces-words-and-lines-in-string Reading text from a file.txt file and converting the content of the file into a string and then counting number of words, spaces and lines in the paragraph