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

Ex Input:
Sentence: 'An oriental musical group gathered in a field'. Count the number of nouns in this sentence.

Ex Output:
2

Ex Input:
Sentence: 'Many boats float down the water in between the buildings'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'A person watching an elephant walking down a dirt road carrying people on its back'. Count the number of nouns in this sentence.

Ex Output:
6