Input: Sentence: 'A small oval orange couch and ottoman with pineapple pillows'. Count the number of nouns in this sentence.
Output: 6