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

Example Input: Sentence: 'two people in a field near a tree with a frisbee'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A yellow fire hydrant sitting at the top of a green hill'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A variety of doughnuts are showed in a box'. Count the number of nouns in this sentence.
Example Output:
3