BOM Unit of measure lenght as QTY

Is there a way to use the lenght of a pipe as QTY.

The standard lenght of a pipe is 6m so when I 20m of pipe I have to order 4 pipes. QTY will be 4

I 'm trying to avoid an extra column for lenght.

Thanks

SolidworksBill Of Materials