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: 'A room that has vases/urns on display'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'Some children trying to pet an animal at the zoo'. Count the number of nouns in this sentence.

Ex Output:
3