Memoize workers_size.