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

Ex Input:
Sentence: 'there are five people on surf boards in the ocean'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'a cow that is on the side of a hill'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'An airplane flying through the sky pouring out lots of smoke'. Count the number of nouns in this sentence.

Ex Output:
4