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

Input: Consider Input: Sentence: 'Two people surfing in the sea and flying kites'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'An oriental musical group gathered in a field'. Count the number of nouns in this sentence.

Output: 2


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


Output: 1