Number of attributes in a structure

I need to paint an excel line, from the first column to the last
column of my structure ...

How can i know the size of my structure (number of columns / attributes)?

Hello Michael,

I am afraid I could not completely understand your issue, could you please elaborate a bit more (and include images or a .oml if needed)?

Kind regards