instruction:
In this task, you need to count the number of nouns/verbs in the given sentence.
question:
Sentence: 'A homeless man sleeping on a city bench'. Count the number of nouns in this sentence.
answer:
3

question:
Sentence: 'A white and grey dog in market area next to bananas and strawberries'. Count the number of nouns in this sentence.
answer:
5

question:
Sentence: 'A man is standing by a fence holding a tennis racket'. Count the number of nouns in this sentence.
answer:
4