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

[EX Q]: Sentence: 'Two people with dogs walking by a modern building in a city'. Count the number of nouns in this sentence.
[EX A]: 4

[EX Q]: Sentence: 'A kitchen containing beige and wood cabinets and a white oven'. Count the number of nouns in this sentence.
[EX A]: 4

[EX Q]: Sentence: 'The long sandwich next to chips is cut into halves'. Count the number of nouns in this sentence.
[EX A]:
3