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

Example Input: Sentence: 'a kitchen with a bunch of food in boxes and bananas hanging from hooks'. Count the number of verbs in this sentence.
Example Output: 1

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: 'Man riding a train looking out of a window'. Count the number of verbs in this sentence.
Example Output:
2