Input: Sentence: 'A window is open high on the wall in this bathroom'. Count the number of nouns in this sentence.
Output: 3