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

Input: Consider Input: Sentence: 'A group of people having dinner and drinking wine'. Count the number of nouns in this sentence.

Output: 4

Input: Consider Input: Sentence: 'A Herd of Elephants in a body of water'. Count the number of verbs in this sentence.

Output: 0

Input: Consider Input: Sentence: 'A bed that has padding with a blue picture frame hanging above it'. Count the number of verbs in this sentence.
Output: 1