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: 'There is a person playing with a frisbee'. Count the number of nouns in this sentence.
Solution:
2
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: 'There is a person playing with a frisbee'. Count the number of nouns in this sentence.
Solution:
user
2
assistant
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: 'There is a person playing with a frisbee'. Count the number of nouns in this sentence.
Solution:
2