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

Input: Consider Input: Sentence: 'Two people standing next to a huge wall looking at their cell phones'. Count the number of nouns in this sentence.

Output: 4

Input: Consider Input: Sentence: 'A photo of a TV dinner beside a computer and action figures'. Count the number of nouns in this sentence.

Output: 6

Input: Consider Input: Sentence: 'A group of people dressed in beach attire with several holding suf boards'. Count the number of nouns in this sentence.
Output: 6