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

Input: Consider Input: Sentence: 'A group of people march across a field with a red flag'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'an older person holding an open umbrella'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'toddler running around in the grass at a picnic'. Count the number of nouns in this sentence.


Output: 3