Input: Sentence: 'Pedestrians stand at a crosswalk waiting for the light to change'. Count the number of nouns in this sentence.
Output: 3