Integrated statistisc collection for reduce task