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

Example Input: Sentence: 'A yellow fire hydrant sitting at the top of a green hill'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A new refrigerator and a new washer and dryer'. Count the number of verbs in this sentence.
Example Output: 0

Example Input: Sentence: 'The cow statue is standing outside the store'. Count the number of nouns in this sentence.
Example Output:
3