Input: Sentence: 'A clock on a brick building and a blue sky'. Count the number of nouns in this sentence.
Output: 4