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

Ex Input:
Sentence: 'Desktop and laptop computers on a desk with a dry erase board nearby'. Count the number of nouns in this sentence.

Ex Output:
6


Ex Input:
Sentence: 'A tennis player looks at a tennis ball as she lifts up a tennis racket'. Count the number of nouns in this sentence.

Ex Output:
6


Ex Input:
Sentence: 'San Francisco boardwalk portrays an era that has passed'. Count the number of nouns in this sentence.

Ex Output:

2