Fix Number of affected Ontologiesdisplay

use `size` instead of `count`.
Fix error which resulted in unsaved ontologies

When merging staging and git we commented ontology.save
out, which resulted in the logic-specific settings
(and probably more) not being saved.