I need help with an elegant solution for creating a table in which each value in the first row consists of a custom field's dropdown list and the second row consists of the amount of open tickets that full under each custom field's dropdown value. I also want it to be easy to add new dropdown values.

My first idea was to create a variable "SiteList" that contains each Site
then a branch rule for each Site
that will lookup issues for each site
and then a lookuptable would've stored each lookupissue
such that i would be able to reference (the size of) each lookupissue
I would like the table to be something like:
but cannot use smart values in lookuptable name