Input: Sentence: 'A man in a truck filled with bottled water'. Count the number of nouns in this sentence.
Output: 3