Update statistics_collector.rb