Input: Sentence: 'A clock tower is beside a street light near a building'. Count the number of nouns in this sentence.
Output: 5