Oracle compatibility hack #1

Removed from clause alias in count query