Check the following,
I am assuming that the string which you are checking is there in a file.
*************************************
sed 's/pattern/\
\BUZZWORDXYZ\
\/g' yourfile | grep -c BUZZWORDXYZ ;
************************************
Hope this will work for you..
Have Fun,
Hanuman.