Update to delta reducer so it can use doc count too