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

[EX Q]: Sentence: 'a small black dog is playing with a green toy'. Count the number of nouns in this sentence.
[EX A]: 2

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

[EX Q]: Sentence: 'Three adult elephants and a baby elephant standing together'. Count the number of nouns in this sentence.
[EX A]:
4