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: 'View of a kitchen with man and dog inside of it'. Count the number of verbs in this sentence.

Output: 0

Input: Consider Input: Sentence: 'There are street signs at the corner of a large city street'. Count the number of verbs in this sentence.
Output: 0