A mod to count relics

Hello. Is it possible to create a UI mod to have a relic count on the panel with the wood, gold, stone, and food? I feel it would be a helpful counter and especially nice for streamers.
I’ve thought about creating one myself but get hung up in the resourcepanel.json file. I’ve never modded something like that before. Does relic have a widget defined? It seems based on the file one needs to be?

Thanks for any insights