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