Add setting totalCount