fix a bug in model count