Add support for SELECT COUNT(*)