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

[EX Q]: Sentence: 'A luxurious spa area with a tub and seating area'. Count the number of nouns in this sentence.
[EX A]: 5

[EX Q]: Sentence: 'A cat sitting next to a pair of legs on the ground'. Count the number of nouns in this sentence.
[EX A]: 4

[EX Q]: Sentence: 'A boat that has been beached on the shore'. Count the number of nouns in this sentence.
[EX A]:
2