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 black horse that is tied up eating grass'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A clock tower on the front of a building with a sun dial'. Count the number of nouns in this sentence.


Output: 6