the number of columns that are inside a latex table (and their justification) is included at the beginning of the table, not in the cells, or even the columns. so I need to count the columns and iterate over those, as well as their justifications. I don't see another way to do this.