What's the type of the value that length stores?

StringNumberBoolean

It stores a number.