(bug-fix:minor) In MySQL data store, if 'SELECT COUNT(*)' returns an empty result set it has to be interpreted as 0.