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

Ex Input:
Sentence: 'Woman cross country skiing alone on a trail in the woods'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'woman in a bikini surfing on a yellow surfboard'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'An umbrella upside down outside on the dirt'. Count the number of nouns in this sentence.

Ex Output:

2