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

Input: Consider Input: Sentence: 'A white and grey dog in market area next to bananas and strawberries'. Count the number of nouns in this sentence.

Output: 5


Input: Consider Input: Sentence: 'A person wipes out on their surfboard in the ocean'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A tray with a doughnut and a cup of coffee on it'. Count the number of nouns in this sentence.


Output: 4