pub fn count_parameters<M>(module: &M) -> usizewhere M: Module + ?Sized,
Get the number of parameters that would be saved.