Input: Sentence: 'Bathroom sink with a variety of different toiletries on it'. Count the number of nouns in this sentence.
Output: 3