Total the column of a table

table2.data contents are:

image

I want to total the "Edits":

image

I can see that they need to be expressed as integers before the code will work but think I must be going about it wrong. Can anyone help me please?

The column in the table is formatted as integers in case you are wondering.

I am also concerned with the discrepancy between the displayed values of "Edits" (table vs screenshot above), and the number of records in the table (34) vs the number of lines in the array ('7 more') - see below.

Many thanks in advance...

You can use a Summary row
Screenshot 2023-08-16 at 12.12.49 PM
in the new table component not the legacy table component