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

TEIID-2983, TEIID-2984: Fixing the error with COUNT(columnName) by rewri...