update document body count