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

Q: Sentence: 'Multiple goats stand atop a grassy hill with a tree'. Count the number of nouns in this sentence.

A: 3
****
Q: Sentence: 'a small black dog is playing with a green toy'. Count the number of nouns in this sentence.

A: 2
****
Q: Sentence: 'The train travels on the bridge over the lake'. Count the number of nouns in this sentence.

A:
3
****