fix mysql common/Count bug