Correcting “Syntax error or access violation: 1064”.
Merge pull request #1446 from shefik/selectExpandedObjectCount

Correcting “Syntax error or access violation: 1064”.