strange bug different count(*) two terminals