Input: Sentence: 'A man flies a kite in the sky above a stone retaining wall'. Count the number of nouns in this sentence.
Output: 5