Input: Sentence: 'A red umbrella stands between two blue lounge chairs on an empty beach'. Count the number of nouns in this sentence.
Output: 4