Stream reduce demo