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

Example Input: Sentence: 'A man in a diner holding two baskets of sandwiches'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A group of volunteers enjoying a meal together'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A bunch of oranges with an apple on top'. Count the number of nouns in this sentence.
Example Output:
4