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

Example Input: Sentence: 'There is a silver and blue fire hydrant on a grass field'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'Pedestrians stand at a crosswalk waiting for the light to change'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A clock tower in between two leafless trees'. Count the number of nouns in this sentence.
Example Output:
3