implement the stats() method
Merge branch 'add-stats' into desired-master