Input: Sentence: 'A clock tower that acts as a canopy for a little bit'. Count the number of nouns in this sentence.
Output: 4