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

Ex Input:
Sentence: 'A person wipes out on their surfboard in the ocean'. Count the number of nouns in this sentence.

Ex Output:
3

Ex Input:
Sentence: 'woman in a bikini surfing on a yellow surfboard'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'Cows chew on grass in a field near a forest of trees'. Count the number of verbs in this sentence.

Ex Output:
1