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

Input: Consider Input: Sentence: 'A cut in half sandwich sitting on top of a table next to a foam container'. Count the number of nouns in this sentence.

Output: 6

Input: Consider Input: Sentence: 'Two cats laying on a hard wood floor next to empty shoes'. Count the number of verbs in this sentence.

Output: 1

Input: Consider Input: Sentence: 'Three horsed grazing in a field bordered by tree.s'. Count the number of verbs in this sentence.
Output: 2