Add option to limit max entity items per chunk.Signed-off-by: Ross Allan <[email protected]> (commit: 7e1bd03)