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

[EX Q]: Sentence: 'A boat with emergency lights on it sitting in a harbor'. Count the number of nouns in this sentence.
[EX A]: 4

[EX Q]: Sentence: 'a man is flying through the air on a snowboard'. Count the number of nouns in this sentence.
[EX A]: 3

[EX Q]: Sentence: 'A man and women on a bench eating with a dog watching'. Count the number of nouns in this sentence.
[EX A]:
4