TEIID-2613 refining the rowcount