How long something is from end to end.
Do you have a ruler? What is the length of your pencil?
The adjective is 'long' but 'length' is the noun!