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

Input: Consider Input: Sentence: 'A colorful glass vase is casting a shadow'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'A lunchbox with vegetables, fruit, a sandwich and a cup of tea'. Count the number of verbs in this sentence.

Output: 0

Input: Consider Input: Sentence: 'A person holding a pair of scissors up in the air'. Count the number of nouns in this sentence.
Output: 4