Implement the meta/stats API endpoint.

As a pre-req, also implement the first stats hook (archive-download).
Could we retrieve number of downloads in some tome interval in the past and therefore does it make sense to add Start and Stop time to the CounterRequest?