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

Example Input: Sentence: 'A red open fire hydrant spewing water from it'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A very long crane truck driving past a very tall building'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'A person watching an elephant walking down a dirt road carrying people on its back'. Count the number of nouns in this sentence.
Example Output:
6