Input: Sentence: 'Baby sits inside an empty suitcase on top of a bed'. Count the number of nouns in this sentence.
Output: 4