Input: Sentence: 'A red umbrella sitting above a garden next to a building'. Count the number of nouns in this sentence.
Output: 3