Allow sending the number of lcd columns as a parameter

This is needed for https://phabricator.wikimedia.org/T76196
and may also be useful for many other features.