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

Input: Consider Input: Sentence: 'Multiple goats stand atop a grassy hill with a tree'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A silver and yellow engine is followed by several train cars'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A woman riding a surfboard on top of a wave in the ocean'. Count the number of verbs in this sentence.


Output: 1