Input: Sentence: 'A bed in a bedroom  that has lots of things sitting on top of it'. Count the number of nouns in this sentence.
Output: 5