createStatsFactory(options) {
		const statsFactory = new StatsFactory();
		this.hooks.statsFactory.call(statsFactory, options);
		return statsFactory;
	}
@param {NormalizedStatsOptions} options options
@returns {StatsFactory} the stats factory