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

Example Input: Sentence: 'Group of people standing on the deck to watch a group of giraffes'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'A man riding on the back of an elephant near a lake'. Count the number of nouns in this sentence.
Example Output: 4

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