Creating Dynamic Classes in Jade/Pug
You can do this:
div(class="abc-"+len)
attributes are interrupted automatically, more about attributes
You can use ES6 template literals as well. E.g.
div(class=`static_${dynamic_variable}`
In your case:
div(class=`abc-${len}`)
Have fun.