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

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

Sentence: 'The street is barred for a train to pass'. Count the number of verbs in this sentence.
2

Sentence: 'a table with a drink some flowers an ashtray and a pizza'. Count the number of nouns in this sentence.

5