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

Ex Input:
Sentence: 'Two beds set right next to each other in a room'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A duckling swims in a pond and catches some food'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A homeless man sleeping on a city bench'. Count the number of nouns in this sentence.

Ex Output:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
3


