Actually it doesn't, you do :P You forgot $+

//echo -a $chr(44)$chr(32)$chr(32)$chr(44)

prints , therefore $count was correct.

$count($chr(44) $+ $chr(32) $+ $chr(32) $+ $chr(44),$chr(32))

That will correctly return 2