Ref #6: Make column count dependent on needed number of columns