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

Input: Consider Input: Sentence: 'large clock mounted to a living room wall'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'The street is barred for a train to pass'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A book lying on a bed next to a pillow'. Count the number of nouns in this sentence.


Output: 3