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

Input: Consider Input: Sentence: 'The display has many towers of stacked cookies next to trays full of cookies'. Count the number of nouns in this sentence.

Output: 5


Input: Consider Input: Sentence: 'there are a group elephants that can be seen in the wild'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A woman in a purple dress with white polka dots stands drinking a beverage at a public gathering'. Count the number of verbs in this sentence.


Output: 2