ncol_byname function

Get the number of columns in a "byname" matrix.