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

Input: Consider Input: Sentence: 'A clean bathroom is seen in this image'. Count the number of nouns in this sentence.

Output: 2

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: 'a bathroom with two toilets seperated by a divider'. Count the number of verbs in this sentence.
Output: 1