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

Example Input: Sentence: 'a couple of birds that are sitting next to each other'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A plane that is flying over a mountain'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'a snowboarder showing off on his snowboard in the air'. Count the number of nouns in this sentence.
Example Output:
3