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 view of a laptop being held by someone laying in bed'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'An instructor pointing at something on top of a screen'. Count the number of nouns in this sentence.
Example Output:
3