PROGRAMMING:Count the number of words in a line of text
This topic requires the preparation of procedures to count the number of words in a line of characters. The so-called "word" refers to the continuous string without spaces. The words are separated by spaces, and the number of spaces can be multiple.
###Input format:
Enter to give a line of characters.
###Output format:
Output the number of words in a line.
###Input example:
```in
Let's go to room 209.
```
###Output example:
```out
five
```
answer:If there is no answer, please comment
###Input format:
Enter to give a line of characters.
###Output format:
Output the number of words in a line.
###Input example:
```in
Let's go to room 209.
```
###Output example:
```out
five
```
answer:If there is no answer, please comment