Input: Sentence: 'A waterway in the background with a plane'. Count the number of nouns in this sentence.
Output: 3