count first and last deletes