Found out how to dynamically find the number of sentences.