You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you need to count the number of nouns/verbs in the given sentence.

Sentence: 'A small toy kept on tray held by a man'. Count the number of nouns in this sentence.
Solution: 3
Why? The words 'toy', 'tray', and 'man' are nouns in this sentence. So, the answer is 3.

New input: Sentence: 'A photo taken from a vehicle looking at an intersection'. Count the number of verbs in this sentence.
Solution:
2