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

Example Input: Sentence: 'A wooden wardrobe sitting next to a black trunk'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'broken microwave with door open sitting on mud pile with other debris'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'A display of something outside in the snow weather'. Count the number of nouns in this sentence.
Example Output:
3