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

Input: Consider Input: Sentence: 'Man rubs hands and looks to long narrow pizza'. Count the number of verbs in this sentence.

Output: 2

Input: Consider Input: Sentence: 'Multiple goats stand atop a grassy hill with a tree'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'A person preparing food next to some vegetables and a cooker'. Count the number of verbs in this sentence.
Output: 1