Figure out how many words are in a string
Sigiloso
Usually this kind of questions they give you a string composed by words WITHOUT spaces and a method to check if a given string is a real word or not. Just to counting the number of spaces is too easy. For instance: "thisisarealsentence" -> "this is a real sentence" (5 words)