Fix number of parameters to not include the layers in the non-extruded case.