In this task, you need to count the number of nouns/verbs in the given sentence.

Input: Consider Input: Sentence: 'A red open fire hydrant spewing water from it'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A woman standing next to a giant refrigerator freezer'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'Workers wearing hats and aprons work behind the counter'. Count the number of nouns in this sentence.


Output: 4