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: 'A tennis player is trying to hit the ball'. Count the number of nouns in this sentence.
3

Sentence: 'A pair of giraffe standing in a forest'. Count the number of nouns in this sentence.

3