TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A person playing tug of war with a dog and a frisbee'. Count the number of nouns in this sentence.

SOLUTION: 5

PROBLEM: Sentence: 'Several people in beach chars while two children fly a kite on the sea shore'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'A tennis player has just attempted to hit the ball'. Count the number of verbs in this sentence.

SOLUTION:
2