How would you do a unique count across 2 terms?

How would you do a unique count across 2 terms? I have two terms that I want to combine into a unique count metric. Is there a way to do this in a visualization?

Are you doing a metric count, or something else?

I am actually trying to create the below table:

Action, Count, Unique count of party
Veiw Customer, 508, 134
View Organization, 49, 20

Right now the best i can do is this:

Action, Count Unique count of accountId, Unique count of orgId
Veiw Customer, 508, 134, 0
View Organization, 49, 0, 20