Below are the two tables "actual" and "planned" for the Jira tasks.

The "actual" table is the result of the Jira query based on the current Jira status as below.

Ideally, when people start working on tasks, there will be more columns like "Count In Progress" and "Count Done". But currently these columns are not there in the output, as you can see.
I want to merge these two tables "actual" and "planned" based on sprint name and then add columns "Count In Progress" and "Count Done" only if they don't exist. How do i use table transformer for this?