length -> duration in loop description

Fixes issue #280.