fixed the calculation of the number of non-zero coefficients to work after the changes that changed the prior variables from a vector to a data.frame.