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

Input: Consider Input: Sentence: 'A group of brown teddy bears one without a head'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'Vintage green chairs and a couch in a living room paneled in wood'. Count the number of nouns in this sentence.

Output: 5


Input: Consider Input: Sentence: 'A boat that has been beached on the shore'. Count the number of verbs in this sentence.


Output: 1