TEIID-2983, TEIID-2984: Fixing the error with COUNT(columnName) by rewriting the query
Merge pull request #248 from rareddy/TEIID-2983

Teiid 2983