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

Example Input: Sentence: 'A man sleeping on a wooden bench next to a bag of luggage'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'a small group of fish about to be cleaned'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'Three pictures taken of three different kinds of emergency vehicles'. Count the number of verbs in this sentence.
Example Output:
1