set reducer number