This is a simple fix for the counters display in the webapp homepage.
When the storage is empty (for instance after booting the docker env), the
/api/1/stat/counters endpoint returns an empty dict.
So handle that corner case to avoid a JavaScript error when homepage is loading.