fix bug count(*)