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

Input: Consider Input: Sentence: 'A man in a diner holding two baskets of sandwiches'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'Two men are standing near a propped up surfboard'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A food cart with trays of food on the shelves'. Count the number of nouns in this sentence.


Output: 5