Input: Sentence: 'A couch and a table in a room'. Count the number of nouns in this sentence.
Output: 3