Question for the solution:
Polymorphic function which counts the number of words in a sentence or the splits the string into words separated by an input from the user