The array_count_values() returns an array.
I am not entirely sure exactly how, when it returns an array its greater than 200.
Try:
if (sizeof($addrUnique) > 200) {
echo "The maximum addresses are 200 or less at a time. You are over the limit.";
exit;
}
array_count_values() should return the unique elements, as well as the # of elements in there.
You could potentially also do:
if (sizeof(array_count_values($addrUnique)) > 200) {
echo "The maximum addresses are 200 or less at a time. You are over the limit.";
exit;
}
Best of luck