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

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

Example Input: Sentence: 'A FAMILY WITH A DAD, DAUGTHER , AND SON POSING AT A SNOW RESORT'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A young man sits next to a small stuffed bear'. Count the number of nouns in this sentence.
Example Output:
2