Agregado columna num_instances a tabla studyentity