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

Input: Consider Input: Sentence: 'A collection of headshots dot the picture frame'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A large and baby cow are on tall grass'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'Two dogs and a cat on a boat at edge of water'. Count the number of verbs in this sentence.


Output: 0