Input: Sentence: 'Woman in hospital bed with family surrounding her and a child laying with her'. Count the number of nouns in this sentence.
Output: 5