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

Example Input: Sentence: 'Different colored plaques displayed some gold, some green'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A teddy bear with a huge forehead and a bandana around its neck'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'A man smiling as he holds two ties while a lady sits nearby'. Count the number of nouns in this sentence.
Example Output:
3