no idea how that will work in mysql, but in php:
while( $line=mysql_fetch_array( ... ) )
{
preg_match_all( '#searchWord#msiU', $line[ 'content' ], $foundArray );
// occurence of searchWord is sizeof( $foundArray )
}
maybe you can write your own mysql-function for that....