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

Input: Consider Input: Sentence: 'a horse pulls a cart with people sitting on it'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A hand holding a partially eaten doughnut hole'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'Tourists enjoying spirits at an underground brewery'. Count the number of nouns in this sentence.


Output: 3