CORE-5386: added an external_app_count column to the app_listing view