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

Input: Consider Input: Sentence: 'A woman holding a dog in front of a mirror'. Count the number of verbs in this sentence.

Output: 1

Input: Consider Input: Sentence: 'A beautiful hipster woman standing behind a red eyed teddy bear'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'A dog is chasing a ball in the water'. Count the number of nouns in this sentence.
Output: 3