Input: Sentence: 'A view of a giant clock tower with a ferris wheel behind it'. Count the number of nouns in this sentence.
Output: 4