TEIID-2684 ensuring the row count is correct