API: add /api/1/stat/counters endpoint
Closes: T97
Waiting on having a way to instantiate a scratch storage instance to enable tests.