Input: Sentence: 'a sail boat sitting in the lake outside the city'. Count the number of nouns in this sentence.
Output: 4