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

[Q]: Sentence: 'A small kitchen knife on top of a sliced carrot'. Count the number of nouns in this sentence.
[A]: 4


[Q]: Sentence: 'A black horse that is tied up eating grass'. Count the number of nouns in this sentence.
[A]: 2


[Q]: Sentence: 'A red train on a group of tracks beneath a blue bridge'. Count the number of nouns in this sentence.
[A]:
4