Fix floating point division in sentlength metric