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: 'The stuffed bears are covered in flakes of fake snow'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A train car with four beds next to a window'. Count the number of nouns in this sentence.


Output: 4