Input: Sentence: 'A very elegant bathroom with marble and accented with red'. Count the number of nouns in this sentence.
Output: 2