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

Sentence: 'A train on a track in the middle of a neighborhood'. Count the number of nouns in this sentence.
4

Sentence: 'A park with not much shade and a kite flying'. Count the number of nouns in this sentence.
3

Sentence: 'two giraffes walking between trees in a zoo setting'. Count the number of nouns in this sentence.

3