My fault, as I only search for part of your string. You can search for the entire command string.
If you respond, please cut and paste your script. Every tick mark, punctuation, and space is important in a shell script.
Also, another mistake is the line should be:
if [ $PID_COUNT == 0 ]
I didn't actually run the script. It was intended as a baseline for you.