Input: Sentence: 'A bathroom that has two toilets near a sink'. Count the number of nouns in this sentence.
Output: 3