Input: Sentence: 'An ancient stone bell tower next to an ancient stone church'. Count the number of nouns in this sentence.
Output: 5