Input: Sentence: 'a white truck parked next to a picket fence surrounding a house'. Count the number of nouns in this sentence.
Output: 4