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

[EX Q]: Sentence: 'a man in a white shirt laying in bed'. Count the number of nouns in this sentence.
[EX A]: 3

[EX Q]: Sentence: 'A sandwich with lettuce and tomatoes sits on a box in a park'. Count the number of nouns in this sentence.
[EX A]: 5

[EX Q]: Sentence: 'Three women sit next to each other at a restaurant'. Count the number of nouns in this sentence.
[EX A]:
2