counting words,lines,characters for given text
Read and writing text file