TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'some long boats are out on the water'. Count the number of nouns in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'A kite flying next to a palm tree in a blue sky'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A brown horse sticking its head out of a red and white barn door'. Count the number of nouns in this sentence.

SOLUTION:
4