StatisticsCollection compiles now, however, I still need to implement the stuff in ThreadedStatisticsCollector