Input: Sentence: 'A spray paint covered fire hydrant on a side walk'. Count the number of nouns in this sentence.
Output: 6