Implement the cached version of the statistics module