Input: Sentence: 'A bathroom that has a sink and a toilet in it'. Count the number of nouns in this sentence.
Output: 3