Caravans arrive at the pearl fisheries of Nacre Bay with crates of sigils, and Xara the valuer must account for every last one. Task: Read a line of space-separated words and print the word count. Input format: One line with words separated by single spaces (lowercase letters only). Output format: Print the number of words. Constraints: 1 <= |s| <= 1954; s contains lowercase English letters.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= |s| <= 1954; s contains lowercase English letters.
