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

Ex Input:
Sentence: 'A lady riding a rodeo horse preparing to round a barrel'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'Group of pilots displaying protest messages behind fenced area'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'A city street filled with two large red double decker buses'. Count the number of verbs in this sentence.

Ex Output:
1