getModulesSize = modules => {
	let size = 0;
	for (const module of modules) {
		for (const type of module.getSourceTypes()) {
			size += module.size(type);
		}
	}
	return size;
}
@param {Iterable<Module>} modules the modules to get the count/size of
@returns {number} the size of the modules