Extract number of registered test models as constant.