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

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

Output: 2


Input: Consider Input: Sentence: 'A duckling swims in a pond and catches some food'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'some people and a brown and white dog a lamp and chairs'. Count the number of nouns in this sentence.


Output: 4