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

[Q]: Sentence: 'A person is walking with their dog in a backpack in the park'. Count the number of nouns in this sentence.
[A]: 4


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


[Q]: Sentence: 'Two birds walking alone a wooden rail at a park'. Count the number of verbs in this sentence.
[A]:
1