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: 'A lean, gray racehorse being led to a track'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'Two men and two women on a sofa with laptop computers'. Count the number of nouns in this sentence.


Output: 5