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

Ex Input:
Sentence: 'The shelves are covered with a lamp, a clock, drawers, and photos'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'Skiers pause for a photo before hitting the slopes'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A female tennis player stretches to serve the ball'. Count the number of nouns in this sentence.

Ex Output:

3