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

Input: Consider Input: Sentence: 'A photographer taking picture with a police nearby'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A large jetliner flying in the sky above a small helicopter'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'There is a fire truck pulling in to traffic'. Count the number of nouns in this sentence.


Output: 3