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: 'A deep dish pizza sitting on top of a table next to a spatula'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'The book shop looks appealing to children and adults'. Count the number of nouns in this sentence.


Output: 4