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

Example Input: Sentence: 'Desktop and laptop computers on a desk with a dry erase board nearby'. Count the number of nouns in this sentence.
Example Output: 6

Example Input: Sentence: 'A young teenager in glasses smiles while brushing her teeth'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'Two yellow plates have a red bird on them while one has a yellow bird on it'. Count the number of verbs in this sentence.
Example Output:
2