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

Input: Consider Input: Sentence: 'A series of photographs showing an adorable white dog and lots of yellow fire hydrants'. Count the number of nouns in this sentence.

Output: 6


Input: Consider Input: Sentence: 'A group of businessmen and women posing for a picture'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A rusty old train on top of train tracks'. Count the number of nouns in this sentence.


Output: 4