add accessors to nb of models