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

Ex Input:
Sentence: 'Surfer riding a wave in ocean with surfboard pointed up'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A person sitting on a couch with a laptop'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A compartmentalized tray holds a variety of food'. Count the number of nouns in this sentence.

Ex Output:

3