Input: Sentence: 'An older man standing next to a garage and a young boy'. Count the number of nouns in this sentence.
Output: 3