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 man flying through the air while riding skis'. Count the number of nouns in this sentence.

Output: 3

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