adding check for counts on array combine