Input: Sentence: 'A bath tub with potted plants in it'. Count the number of nouns in this sentence.
Output: 3