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

[Q]: Sentence: 'A man riding on the back of an elephant near a lake'. Count the number of nouns in this sentence.
[A]: 4


[Q]: Sentence: 'A cut in half sandwich sitting on top of a table next to a foam container'. Count the number of nouns in this sentence.
[A]: 6


[Q]: Sentence: 'A photograph taken from an airplane window while in flight'. Count the number of nouns in this sentence.
[A]:
4