Added Statistic class for retaining and calculating search statistics.