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

Input: Consider Input: Sentence: 'A red train engine coming into a station'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A woman standing next to a giant refrigerator freezer'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A luggage cart by an airport luggage carousel'. Count the number of nouns in this sentence.


Output: 5