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

Input: Consider Input: Sentence: 'a horse pulls a cart with people sitting on it'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'Several people in beach chars while two children fly a kite on the sea shore'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A women who is opening a microwave door'. Count the number of nouns in this sentence.


Output: 3