added reduce method to Mojo::Collection