This example shows how to use the Reduction pipeline.