Input: Sentence: 'a row of three ambulances with white and yello paint'. Count the number of nouns in this sentence.
Output: 3