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

[EX Q]: Sentence: 'A homeless man sleeping on a city bench'. Count the number of nouns in this sentence.
[EX A]: 3

[EX Q]: Sentence: 'Two girls with painted faces sit on the sidewalk'. Count the number of nouns in this sentence.
[EX A]: 3

[EX Q]: Sentence: 'A man holding a tennis racquet on top of a tennis court'. Count the number of verbs in this sentence.
[EX A]:
1