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

Input: Consider Input: Sentence: 'A young man on a skateboard with hand protectors'. Count the number of nouns in this sentence.

Output: 4

Input: Consider Input: Sentence: 'A wooden bench in front of some trees'. Count the number of verbs in this sentence.

Output: 0

Input: Consider Input: Sentence: 'The sandwich halves are beside very small tomatoes'. Count the number of nouns in this sentence.
Output: 3