Input: Sentence: 'A bathroom with a toilet, mirror and light'. Count the number of nouns in this sentence.
Output: 4