Input: Sentence: 'A oil tanker train on the tracker with mountains in the background'. Count the number of nouns in this sentence.
Output: 6