Input: Sentence: 'A bathroom with a toilet, bathtub, cabinet and tiled floors'. Count the number of nouns in this sentence.
Output: 5