Input: Sentence: 'An empty gazebo in front of a large white church'. Count the number of nouns in this sentence.
Output: 3