Input: Sentence: 'A sky light is shining light over a bed'. Count the number of nouns in this sentence.
Output: 4