Input: Sentence: 'the bathroom is a tub that is pink'. Count the number of nouns in this sentence.
Output: 2