remove the count sql