substr_count excact Match PHP
$sunCount = preg_match_all('/\bsun\b/i',$string);
Indian Gooner
$sunCount = preg_match_all('/\bsun\b/i',$string);