Added getNumReduceTasks to BasePlatform