body_filter_by_lua_block {ngx.arg[1] = '{"count"' .. ":2}'ngx.arg[2] = true}
When the Lua code may change the length of the response body, then it is required to always clear out the Content-Length
response header (if any) in a header filter to enforce streaming output