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

[EX Q]: Sentence: 'Man poses for picture with his dog while sitting on a bench'. Count the number of nouns in this sentence.
[EX A]: 4

[EX Q]: Sentence: 'MAN AND WOMAN IN WINERY WITH BOTTLES OF WINE AND GLASSES'. Count the number of nouns in this sentence.
[EX A]: 2

[EX Q]: Sentence: 'a cake decorated with trees and a river'. Count the number of verbs in this sentence.
[EX A]:
1