Support COUNT(*) on any queries