[yan qian] add reduce to collection ops.