Input: Sentence: 'A guitar case laying a a bed covered with pink sheets'. Count the number of nouns in this sentence.
Output: 4