Adding length to the standard library