Put the actual length in Length validator.

Formatter now includes the key ‘length’ which can be used in format
strings. Fixes #77.