結果 : count duplicate values in array php without using function