Input: Sentence: 'The bench seat by the window is empty'. Count the number of nouns in this sentence.
Output: 3