src/vs/platform/extensionManagement/common/extensionGalleryService.ts/getStatistic
function getStatistic(statistics: IRawGalleryExtensionStatistics[], name: string): number {
	const result = (statistics || []).filter(s => s.statisticName === name)[0];
	return result ? result.value : 0;
}