The array_keys does not lie to you. For your second example you're having an issue with returning zero:
count(array_keys($mCOneC, 'Trial'));
This just means that the array $mCOneC does not contain any string that is exactly 'Trial'. You need to more thoroughly inspect the original data why it does not match, for example with the var_dump function on the concrete value:
var_dump($mCOneC[1]);
This should shed more light into your issue. The print_r function you use is not that specific as var_dump. Also take care when viewing things inside the browser window, take a look into the source-view of your browser, too. It's displaying things better than the browser window when you need to debug.
Trialvalue in the array isn'tTrial[space]or otherwise has an invisible/unprintable character in it, making it something OTHER thanTrial? a var_dump of the array will show its string length, and it SHOULD be 5. if it's not, then it's not just 'Trial'.