Input: Sentence: 'A statue of birds sitting in front of a building that has a clock on it'. Count the number of nouns in this sentence.
Output: 5