-
Access number of columns (or data groups) in a csv?
Anyone know how to access the total number of columns (or groups of data) in a csv? Ae provides easy access to the number of rows in the data of a csv using the following:
thisComp.layer("CSV Filename.csv")("Data")("Number of Rows");However, I can’t figure out how to pull the number of columns. It’s for a template I’m creating for myself to make line charts easily, and column number changes from csv to csv.
In this example, the desired output of the expression would be 11.
