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

Input: Consider Input: Sentence: 'A subway train next to the boarding platform'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'The angle view of tower with a clock'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A cake decorated with a pair of infant shoes, flowers and a name'. Count the number of nouns in this sentence.


Output: 6