Input: Sentence: 'A white train at a docking station that is surrounded by gates and gravel'. Count the number of nouns in this sentence.
Output: 5