Return how many words are in the sentence s. Words are separated by one or more spaces; ignore spaces at the start and end.
Function
function solve(s)
Example 1
s = "Training Trains internship" โ 3
Submit also runs 4 hidden tests, including edge cases.