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: 'Man poses for picture with his dog while sitting on a bench'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A double vanity with no touch faucets set into a black countertop'. Count the number of verbs in this sentence.


Output: 1