Add template stats
Merge branch 'next' of github.com:bartv/imp-cassandra into HEAD