Input: Sentence: 'A very tall cathedral towering over a city'. Count the number of nouns in this sentence.
Output: 2