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

[Q]: Sentence: 'A tray with a doughnut and a cup of coffee on it'. Count the number of nouns in this sentence.
[A]: 4


[Q]: Sentence: 'Two guys giving a thumbs up on their skis'. Count the number of nouns in this sentence.
[A]: 3


[Q]: Sentence: 'A man sitting in front of a computer taking a bit out of a pastry and holding a drink'. Count the number of nouns in this sentence.
[A]:
6