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

Sentence: 'a man in a white shirt laying in bed'. Count the number of nouns in this sentence.
3

Sentence: 'A guy on a horse on a busy city street'. Count the number of nouns in this sentence.
4

Sentence: 'a croissant on a plate near a beverage on a table'. Count the number of nouns in this sentence.
4