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

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

Output: 2


Input: Consider Input: Sentence: 'A street with cars driving down and a traffic signal ahead'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A little girl holding a red umbrella in her hand'. Count the number of verbs in this sentence.


Output: 1