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

Input: Consider Input: Sentence: 'A small white and brown dog carrying a red frisbee'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'Several people pushing a truck from the dirt onto the road'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'World flags decorate a busy urban street corner'. Count the number of nouns in this sentence.


Output: 3