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

Input: Consider Input: Sentence: 'Two cows stand next to each other in a field'. Count the number of nouns in this sentence.

Output: 2


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

Output: 2


Input: Consider Input: Sentence: 'some black animals are eating pumpkins in their pen'. Count the number of nouns in this sentence.


Output: 3