Nbr of Produced Vars, basic error handler