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

Input: Consider Input: Sentence: 'A sandwich with lettuce and tomatoes sits on a box in a park'. Count the number of nouns in this sentence.

Output: 5

Input: Consider Input: Sentence: 'a group of people on surf board ride on some snow'. Count the number of nouns in this sentence.

Output: 5

Input: Consider Input: Sentence: 'A log house shows plates, a table, and dishes on display'. Count the number of verbs in this sentence.
Output: 1