Input: Sentence: 'A rusty green truck is parked among some weeds'. Count the number of nouns in this sentence.
Output: 2