Medium
Count Words
Read a sentence (words separated by one or more spaces) and print the number of words.
Input
One line.
Output
A count.
Sample 1
Input
the quick brown fox
Output
4
Sample 2
Input
one
Output
1
Output appears hereOne line.
A count.
the quick brown fox
4
one
1
Output appears here