Implement some basic aggregated metrics on listed origins
Metrics are computed and cached database-side by the update_metrics
function. The get_metrics
function only retrieves the cached data.
Test Plan
basic tests added for each metric
Migrated from D4880 (view on Phabricator)