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

Example Input: Sentence: 'a green white and red jet at an airport'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A small child sleeping in a toddler bed with a pink bed set'. Count the number of verbs in this sentence.
Example Output: 2

Example Input: Sentence: 'Two dogs are running together and one of them has a frisbee'. Count the number of verbs in this sentence.
Example Output:
2