The VC-Dimension versus the Statistical Capacity of Multilayer Networks