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 man with a white surfboard riding a small wave'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A cat with a serious look on its face sitting on a bed'. Count the number of verbs in this sentence.


Output: 1