Added array_count_values to array test functions