Add abstraction to compute global/distinct features statistics
Add aggregable count and quantiles
Refactor analytics package