Explicit comparison operator for length