Easy
Count the Spaces
Read a line and print how many spaces it contains.
Input
One line.
Output
One integer.
Sample 1
Input
a b c
Output
2
Sample 2
Input
no_spaces
Output
0
Output appears hereOne line.
One integer.
a b c
2
no_spaces
0
Output appears here