calc modelCount