Input: Sentence: 'A tub and shower with a curtain in a bathroom'. Count the number of nouns in this sentence.
Output: 3