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

Input: Consider Input: Sentence: 'OLD BLACK AND WHITE PHOTO OF HORSE AND BUGGY IN BUSY TOWN'. Count the number of nouns in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A large and baby cow are on tall grass'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A person holding a bottle while riding a skateboard'. Count the number of verbs in this sentence.


Output: 2