CORE-5722 added total field to result.