The alert must execute a script if the count of host was not equals to 52.
The solution to create an alert on the index summary is not good for me because we have to manage the cron of this alert according to it from the savedsearches summary indexing.
I would create another search that runs after the scheduled search should finish and use the loadjob
command to check the results of the previous run and alert from there.