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

Example Input: Sentence: 'A vintage photo of a man in a bowler hat feeding a zebra'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'MAN AND WOMAN IN WINERY WITH BOTTLES OF WINE AND GLASSES'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A toaster oven, food processor, and mixer with bowl'. Count the number of nouns in this sentence.
Example Output:
5