Fix formula from going all Walter White

You could remove `NSString *stringValue = value;`

And do `[stringValue length]`, we are making the check that it's an NSString, so should be safe