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

Sentence: 'A person surfing under a wave in the ocean'. Count the number of nouns in this sentence.
3

Sentence: 'A person playing tug of war with a dog and a frisbee'. Count the number of nouns in this sentence.
5

Sentence: 'a sheep and a bird in a field of grass near a fence'. Count the number of nouns in this sentence.

5