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

Input: Consider Input: Sentence: 'A person is fixing a sail on a boat'. Count the number of verbs in this sentence.

Output: 1

Input: Consider Input: Sentence: 'Two zebras out in the wild in the grass'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'Various people in the ocean swimming and on surfboards'. Count the number of nouns in this sentence.
Output: 4