Input: Sentence: 'The view of a bathroom with a clear glass wall showing the bedroom on the other side'. Count the number of nouns in this sentence.
Output: 6