prevent divide by zero if no edits to sentence