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

Sentence: 'An old white building has a sign that says F Street'. Count the number of nouns in this sentence.
2

Sentence: 'Two people with dogs walking by a modern building in a city'. Count the number of nouns in this sentence.
4

Sentence: 'Two birds are perching on top of tree branches'. Count the number of nouns in this sentence.

4