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

Input: Consider Input: Sentence: 'a man is riding a red motorcycle on the street'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A brown cow walks on a road with two motor bikes in the background'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A woman rides on a horse drawn carriage'. Count the number of nouns in this sentence.


Output: 3