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

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: 'Skiers pause for a photo before hitting the slopes'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A plate with rice, carrots, cucumber, seaweed, and meats'. Count the number of nouns in this sentence.


Output: 6