Patch to AIC to use fixed parameter count and not random effects