<?php $string = 'abclkjabc'; echo count(array_filter(count_chars($string, 1), fn($count) => $count === 1));
You have javascript disabled. You will not be able to edit any code.