結果 : array repeated elements count in java