Make SOQL count() detection case insensitive
Fixes #607
@ 27.0.2