Test new number of rows before altering
we need to know what the new number of rows will be before actually removing them in order to do a correct beginRemoveRows()->endRemoveRows() transaction
we need to know what the new number of rows will be before actually removing them in order to do a correct beginRemoveRows()->endRemoveRows() transaction