Input: Sentence: 'A fire hydrant is on the sidewalk covered in snow'. Count the number of nouns in this sentence.
Output: 4