Input: Sentence: 'There is a bed and couch in the room'. Count the number of nouns in this sentence.
Output: 3