I\'m sorry, I just found a new problem due to my question about: Get The Number of Sepecific String Inside String.
I have been trying hard, how to find the number of
$k_count = substr_count($string, 'K') - substr_count($string, 'K-'); $k1_count = substr_count($string, 'K-1');
or
Counting K not followed by dash as follows:
Counting K not followed by dash
$k_count = preg_match_all('/*K(?!-)/*', $string, $out);