Fix inconsistent SQL backend behavior when using PostgreSQL
Fix inconsistent SQL backend behavior when using PostgreSQL

While MySQL and SQLite return results with key 'count(*)', PostgreSQL's
driver uses 'count'.

Fixes #11

ipoddubny/webcdr,ipoddubny/webcdr