It could be pulled at build time. This might make sense if you build the Hugo site often enough, like daily, otherwise the counts will drift and appear stale.
I can alter the stats.json
schema to provide additional fields if needed in your implementation. I don't use Hugo myself so if you want to work on this I'll help for sure!
Leave first comment to start a conversation!