Input: Sentence: 'A dog is sitting in the bathroom sink'. Count the number of nouns in this sentence.
Output: 2