Why are you using the count operator ? Shouldn't you just compare its value ?
I believe your count value is 1, simply because that entry exists once.
The Bulk Installer has been replaced by the "Unified Agent Installer".
It is available as a Job-Type / Depot-Object directly in the console.
Check the docs on how to use it.