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

Ex Input:
Sentence: 'a cat siting next to a chair on a porch'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'The three giraffes are being kept indoors for being to see'. Count the number of verbs in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A clock is shown from the side of a building'. Count the number of nouns in this sentence.

Ex Output:

3