Implement a function that counts the number of words in a string, separated by space(s).
Sigiloso
Pretty simple if you breakdown the string to array of characters. Moreover, pay attention to the case in which the string starts/ends with spaces, and that words can separated by more than one space.