Add collection entity_count attribute to replace duplicate release_count/event_count logic

Fixes a test failure too, since event_count didn't exist on Entity::Collection.
More missing editor_collection_types in test data
Fix missing FROM-clause entry for table "esc" in subscribed_entity_edits query