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

Ex Input:
Sentence: 'a man is squatting down to fix a kite'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A small white and brown dog carrying a red frisbee'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Cupcakes part iced part not with a walnut on top'. Count the number of nouns in this sentence.

Ex Output:

5