Added stats gathering.
Added stats and most popular support.