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

Ex Input:
Sentence: 'A person wipes out on their surfboard in the ocean'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A traffic sign sitting on the side of a road'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Various colored  and sized doughnuts displayed on a shelf'. Count the number of nouns in this sentence.

Ex Output:

2