Implement a new StatsView class under src/snek/view/stats.py that exposes a GET handler. The handler retrieves statistics from the application cache, serializes them with total count and indented JSON formatting, and returns the result with application/json content type.