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: 'A man riding a skateboard on a walkway surrounded by people'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'There is a man skiing in the snow'. Count the number of nouns in this sentence.


Output: 2