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

Input: Consider Input: Sentence: 'A hot dog with toppings sits next to fries'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'An adult polar bear with two baby bears following on the snow'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'a horse with the word autism painted on it'. Count the number of nouns in this sentence.


Output: 3