It’s worth taking a look at this very helpful part of the plugin.
Outline of the Jetpack Stats for WordPress Class
- Connecting to WordPress.com
- Advanced Statistics
- Jetpack Stats Quiz