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

Input: Consider Input: Sentence: 'An open refrigerator in a home in disrepair'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A prom date is posing for a picture while the guy looks at the girl'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A plate filled with fruits like oranges and raspberries'. Count the number of nouns in this sentence.


Output: 4