Input: Sentence: 'The tower clock is architecturally sound in purpose and appearance'. Count the number of nouns in this sentence.
Output: 4