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

Input: Consider Input: Sentence: 'A man brushing his teeth with a tooth brush'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A couple of people on a horse pulled carriage'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A red stop sign sitting on the side of a road'. Count the number of nouns in this sentence.


Output: 4