How to count identical elements of an array

welcome to shbcf.ru