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

Input: Consider Input: Sentence: 'A woman sitting next to a window smiles for a picture'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A passenger train going by on the tracks'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'a close up of a bull with a truck in the background'. Count the number of verbs in this sentence.


Output: 0