Input: Sentence: 'A sailboat on the water of a clear blue lake beneath a snowcapped mountain'. Count the number of nouns in this sentence.
Output: 4