Input: Sentence: 'a bathroom with a large mirror with colorful rim'. Count the number of nouns in this sentence.
Output: 3