Implement initial stats for ingest/archive based on facets.

Visualise facets via d3 lib.