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

Example Input: Sentence: 'A orange bus driving down the street carrying passengers'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A Herd of Elephants in a body of water'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'Three horsed grazing in a field bordered by tree.s'. Count the number of nouns in this sentence.
Example Output:
3