Statistics of factories