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

Ex Input:
Sentence: 'A luxurious spa area with a tub and seating area'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'A giraffe standing next to a stone wall'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A whole sliced pizza with the plastic pieces that prevent it from touching the lid in a box'. Count the number of nouns in this sentence.

Ex Output:

4