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

Example Input: Sentence: 'some long boats are out on the water'. Count the number of nouns in this sentence.
Example Output: 2

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: 'A orange bus driving down the street carrying passengers'. Count the number of nouns in this sentence.
Example Output:
3