Input: Sentence: 'A bed that has padding with a blue picture frame hanging above it'. Count the number of nouns in this sentence.
Output: 4