How to split the words from multiple sentences?

As far as counting the number of sentences and counting the words in each sentence is concerned, you can use the Natural Language Toolkit(NLTK) and it’s tokenize module. It provides functions to obtain each sentence and each word in a sentence.